|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.util.ByLineReaderSource
public class ByLineReaderSource
ByLineSource default implementation
| Constructor Summary | |
|---|---|
ByLineReaderSource(java.io.Reader in)
Creates the ByLineReaderSource. |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByLineReaderSource(java.io.Reader in)
in - real source :)| Method Detail |
|---|
public final java.lang.String getNextLine()
throws ParseException
getNextLine
getNextLine in interface ByLineSourcenull if we reached the end.
ParseException - on I/O errorpublic final java.lang.String getName()
getName
getName in interface ByLineSourcepublic final int getLineNumber()
getLineNumber
getLineNumber in interface ByLineSourcepublic final void close()
close in interface ByLineSource
public final void ungetLine()
throws java.lang.IllegalStateException
ungetLine
ungetLine in interface ByLineSourcejava.lang.IllegalStateException - if the ungetLine/unget is called more than
one time without calling getNextLine()
public final void unget(java.lang.String s)
throws java.lang.IllegalStateException
unget
unget in interface ByLineSources - some text to push back to the parser
java.lang.IllegalStateException - if the ungetLine/unget is called more than
one time without calling getNextLine()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||