|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReadLineCapable
Common interface for types that are able to read from a source line-by-line.
Field Summary | |
---|---|
static ReaderFactory |
INSTANCE
Factory for creating types that are an instances of ReadLineCapable . |
Method Summary | |
---|---|
void |
close()
Closes the source from which lines have been read. |
String |
readLine()
Returns a line read. |
Field Detail |
---|
static final ReaderFactory INSTANCE
ReadLineCapable
.
Method Detail |
---|
String readLine() throws IOException
IOException
- in case reading failsvoid close() throws IOException
IOException
- in case closing the source fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |