|
||||||||||
| 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 |
java.lang.String |
getName()
getName |
java.lang.String |
getNextLine()
getNextLine |
void |
unget(java.lang.String s)
unget |
void |
ungetLine()
ungetLine |
| Method Detail |
|---|
java.lang.String getNextLine()
throws ParseException
getNextLine
null if we reached the end.
ParseException - on I/O errorjava.lang.String getName()
getName
int getLineNumber()
getLineNumber
void ungetLine()
throws java.lang.IllegalStateException
ungetLine
java.lang.IllegalStateException - if the ungetLine/unget is called more than
one time without calling getNextLine()
void unget(java.lang.String s)
throws java.lang.IllegalStateException
unget
s - some text to push back to the parser
java.lang.IllegalStateException - if the ungetLine/unget is 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 | |||||||||