|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An abstraction for the parser, with is the entity that converts an input
source to a Node
.
Method Summary | |
java.lang.String |
getExtension()
Get the file extension for file type to handle, eg. |
Node |
parse(AbstractFile file)
Convert a file to Node. |
Method Detail |
public java.lang.String getExtension()
os
. This
is used to determine which parser to use for which file to parse.
public Node parse(AbstractFile file) throws ParseException, java.io.IOException
file
- the file to parse
ParseException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |