|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public Reader getReader() throws IOException
IOException
public boolean canReopenSource()
public String getLine(int lineNumber, Janitor janitor)
public void cleanup()
cleanup
in interface HasCleanup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |