Constructor and Description |
---|
AptReaderSource(Reader in)
Constructor: initialize reader.
|
AptReaderSource(Reader in,
String name)
Constructor: initialize 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.
|
String |
getName()
Returns the name the apt source document.
|
String |
getNextLine()
Returns a line of the apt source document.
|
public AptReaderSource(Reader in)
in
- the reader.public String getNextLine() throws AptParseException
getNextLine
in interface AptSource
AptParseException
- if the document can't be parsed.public String getName()
public int getLineNumber()
getLineNumber
in interface AptSource
public void close()
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.