org.apache.maven.doxia.module.common
Interface ByLineSource
- ByLineReaderSource
public interface ByLineSource
The token are the new lines :)
close
public void close()
close the source ...
getLineNumber
public int getLineNumber()
getName
public String getName()
- the name of the input. could be the filename for example
getNextLine
public String getNextLine()
throws ParseException
- the next line.
null
if we reached the end.
unget
public void unget(String s)
throws IllegalStateException
s
- some text to push back to the parser
ungetLine
public void ungetLine()
throws IllegalStateException