org.apache.maven.doxia.util
public interface ByLineSource
Since: Nov 4, 2005
Method Summary | |
---|---|
void | close()
close the source ... |
int | getLineNumber() |
String | getName() |
String | getNextLine() |
void | unget(String s) |
void | ungetLine() |
Returns: the current line number
Returns: the name of the input. could be the filename for example
Returns: the next line. null
if we reached the end.
Throws: ParseException on I/O error
Parameters: s some text to push back to the parser
Throws: IllegalStateException if the ungetLine/unget is called more than one time without calling getNextLine()
Throws: IllegalStateException if the ungetLine/unget is called more than one time without calling getNextLine()