Class AptReaderSource
java.lang.Object
org.apache.maven.doxia.module.apt.AptReaderSource
- All Implemented Interfaces:
AptSource
Reader for apt source documents.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor: initialize reader.AptReaderSource
(Reader in, String name) Constructor: initialize reader. -
Method Summary
-
Constructor Details
-
AptReaderSource
Constructor: initialize reader.- Parameters:
in
- the reader.
-
AptReaderSource
Constructor: initialize reader.- Parameters:
in
- the reader.name
- the name of the source
-
-
Method Details
-
getNextLine
Returns a line of the apt source document.- Specified by:
getNextLine
in interfaceAptSource
- Returns:
- a
String
object. - Throws:
AptParseException
- if any.
-
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.
-