|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParseResult
The result from a Parser
. This contains the section of lines
parsed and any notices for that section.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |