| Constructor and Description |
|---|
AptReaderSource(java.io.Reader in)
Constructor: intialize reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader associated with this AptReaderSource.
|
int |
getLineNumber()
Gets the current line number while parsing the document.
|
java.lang.String |
getName()
Returns the name the apt source document.
|
java.lang.String |
getNextLine()
Returns a line of the apt source document.
|
public AptReaderSource(java.io.Reader in)
in - the reader.public java.lang.String getNextLine()
throws AptParseException
getNextLine in interface AptSourceAptParseException - if the document can't be parsed.public java.lang.String getName()
public int getLineNumber()
getLineNumber in interface AptSourcepublic void close()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.