public interface ParseResult
Parser. This contains the section of lines
parsed and any notices for that section.DefaultParseResult,
ParserNotice| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.util.List<ParserNotice> |
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.
|
java.lang.Exception getError()
null if the document was
successfully parsed.int getFirstLineParsed()
0 and parse the entire document.getLastLineParsed()int getLastLineParsed()
getFirstLineParsed()java.util.List<ParserNotice> getNotices()
ParserNotices.Parser getParser()
long getParseTime()
0 for this value.0 if the
parse time was not recorded.