public abstract static class LogEvent.Factory extends Object
LogEvents.| 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 moreIOExceptionParseExceptionpublic void pushbackLastEvent() throws IllegalStateException
IllegalStateExceptionpublic LogType.Description getDescription()
public String getLogSource()
protected abstract LogEvent readNextEvent() throws IOException, ParseException
IOExceptionParseExceptionCopyright © 2004–2014. All rights reserved.