public interface ParseResult
Parser
. This contains the section of lines
parsed and any notices for that section.Modifier and Type | Method and Description |
---|---|
Exception |
getError()
Returns an error that occurred while parsing the document, if any.
|
int |
getFirstLineParsed()
Returns the first line parsed.
|
int |
getLastLineParsed()
Returns the first line parsed.
|
List |
getNotices()
Returns the notices for the parsed section.
|
Parser |
getParser()
Returns the parser that generated these notices.
|
long |
getParseTime()
Returns the amount of time this parser took to parse the specified
range of text.
|
Exception getError()
null
if the document was
successfully parsed.int getFirstLineParsed()
0
and parse the entire document.getLastLineParsed()
int getLastLineParsed()
getFirstLineParsed()
List getNotices()
Parser getParser()
long getParseTime()
0
for this value.0
if the
parse time was not recorded.