|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ByLineSource
The token are the new lines :)
Method Summary | |
---|---|
void |
close()
close the source. |
int |
getLineNumber()
getLineNumber. |
String |
getName()
getName. |
String |
getNextLine()
getNextLine. |
void |
unget(String s)
unget. |
void |
ungetLine()
ungetLine. |
Method Detail |
---|
String getNextLine() throws ParseException
getNextLine.
null
if we reached the end.
ParseException
- on I/O errorString getName()
getName.
int getLineNumber()
getLineNumber.
void ungetLine()
ungetLine.
This should throw a java.lang.IllegalStateException if called more than one time without calling getNextLine().
void unget(String s)
unget.
s
- some text to push back to the parser.
This should throw a java.lang.IllegalStateException if called more than
one time without calling getNextLine().void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |