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 void
close()
Closes the reader associated with this AptReaderSource.int
getLineNumber()
Gets the current line number while parsing the document.String
getName()
Returns the name the apt source document.String
getNextLine()
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:
getNextLine
in interfaceAptSource
- Returns:
- a
String
object. - 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:
getLineNumber
in interfaceAptSource
- Returns:
- a int.
-
close
public void close()
Closes the reader associated with this AptReaderSource.
-
-