|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object flattree.flat.FlatReader
public class FlatReader
A reader of a flat character stream in chunks of ReadLine
s.
next()
,
line()
Constructor Summary | |
---|---|
FlatReader(Reader reader)
Read characters from the given reader. |
Method Summary | |
---|---|
ReadLine |
line()
Get the current line - discards any previously read characters on the same line. |
boolean |
next()
Move to the next line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatReader(Reader reader)
reader
- reader to read characters fromMethod Detail |
---|
public boolean next()
true
if a next line is availableline()
public ReadLine line()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |