public abstract class EventStreamReader extends Object
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
isOpen()
Whether or not the stream is still active.
|
protected Event |
processEvent()
Process the next event in a given stream.
|
protected abstract String |
readLine()
Read the next line of a stream from a given source.
|
protected abstract boolean isOpen()
throws IOException
IOException - if a stream is in the wrong state, IO errors can be thrownprotected abstract String readLine() throws IOException
IOException - if a stream is in the wrong state, IO errors can be thrownprotected final Event processEvent() throws IOException
IOException - if a stream is in the wrong state, IO errors can be thrown