public abstract static class LogEvent.Factory extends Object
LogEvent
s.Modifier and Type | Field and Description |
---|---|
protected LogType.Description |
description |
protected String |
logSource |
static String |
NEWLINE |
Modifier | Constructor and Description |
---|---|
protected |
LogEvent.Factory(LogType.Description description,
String logSource) |
Modifier and Type | Method and Description |
---|---|
LogType.Description |
getDescription() |
String |
getLogSource() |
LogEvent |
nextEvent()
gets the next LogEvent.
|
void |
pushbackLastEvent() |
protected abstract LogEvent |
readNextEvent() |
protected final LogType.Description description
protected LogEvent.Factory(LogType.Description description, String logSource)
public LogEvent nextEvent() throws IOException, ParseException
null
if none available any moreIOException
ParseException
public void pushbackLastEvent() throws IllegalStateException
IllegalStateException
public LogType.Description getDescription()
public String getLogSource()
protected abstract LogEvent readNextEvent() throws IOException, ParseException
IOException
ParseException
Copyright © 2004–2014. All rights reserved.