Interface AptSource
-
- All Known Implementing Classes:
AptReaderSource
public interface AptSourceAn interface to read apt source documents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLineNumber()Gets the current line number while parsing the document.java.lang.StringgetName()Returns the name the apt source document.java.lang.StringgetNextLine()Returns a line of the apt source document.
-
-
-
Method Detail
-
getNextLine
java.lang.String getNextLine() throws AptParseExceptionReturns a line of the apt source document.- Returns:
- a line of the apt source.
- Throws:
AptParseException- if the document can't be parsed.
-
getName
java.lang.String getName()
Returns the name the apt source document.- Returns:
- the name the apt source document.
-
getLineNumber
int getLineNumber()
Gets the current line number while parsing the document.- Returns:
- the line number.
-
-