|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReaderSource
An interface for things that can supply (and resupply) a Reader on a source stream.
Method Summary | |
---|---|
boolean |
canReopenSource()
Returns true if the source can be restarted (ie. |
void |
cleanup()
Cleans up any cached resources used by getLine(). |
String |
getLine(int lineNumber,
Janitor janitor)
Returns a line from the source, or null, if unavailable. |
Reader |
getReader()
Returns a new Reader on the underlying source object. |
Method Detail |
---|
Reader getReader() throws IOException
IOException
boolean canReopenSource()
String getLine(int lineNumber, Janitor janitor)
void cleanup()
cleanup
in interface HasCleanup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |