|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LineParser
Interface for classes that can parse a line of text. The intention is that LineParsers can be chained together to produce a full parser. For example, one might look for a Date and then when that is found next() would return the parser that parses the documents content.
Method Summary | |
---|---|
LineParser |
next()
Returns the next LineParser in the chain. |
boolean |
parse(java.lang.String line,
java.lang.StringBuilder buf)
Parses the specified line of text. |
Method Detail |
---|
boolean parse(java.lang.String line, java.lang.StringBuilder buf)
line
- the line of text to parsebuf
- the buffer to put the actual content in
LineParser next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |