|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.module.apt.AptReaderSource
public class AptReaderSource
Reader for apt source documents.
Constructor Summary | |
---|---|
AptReaderSource(Reader in)
Constructor: intialize reader. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AptReaderSource(Reader in)
in
- the reader.Method Detail |
---|
public String getNextLine() throws AptParseException
getNextLine
in interface AptSource
AptParseException
- if the document can't be parsed.public String getName()
getName
in interface AptSource
public int getLineNumber()
getLineNumber
in interface AptSource
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |