Class AptReaderSource
- java.lang.Object
-
- org.apache.maven.doxia.module.apt.AptReaderSource
-
-
Constructor Summary
Constructors Constructor Description AptReaderSource(Reader in)Constructor: initialize reader.AptReaderSource(Reader in, String name)Constructor: initialize reader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the reader associated with this AptReaderSource.intgetLineNumber()Gets the current line number while parsing the document.StringgetName()Returns the name the apt source document.StringgetNextLine()Returns a line of the apt source document.
-
-
-
Method Detail
-
getNextLine
public String getNextLine() throws AptParseException
Returns a line of the apt source document.- Specified by:
getNextLinein interfaceAptSource- Returns:
- a
Stringobject. - Throws:
AptParseException- if any.
-
getName
public String getName()
Returns the name the apt source document.
-
getLineNumber
public int getLineNumber()
Gets the current line number while parsing the document.- Specified by:
getLineNumberin interfaceAptSource- Returns:
- a int.
-
close
public void close()
Closes the reader associated with this AptReaderSource.
-
-