|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoscript.DefaultParser
Constructor Summary | |
DefaultParser()
|
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. |
static Node |
parse(java.io.Reader in,
java.lang.String desc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultParser()
Method Detail |
public java.lang.String getExtension()
os
. This
is used to determine which parser to use for which file to parse.
getExtension
in interface Parser
public Node parse(AbstractFile file) throws ParseException, java.io.IOException
parse
in interface Parser
file
- the file to parse
ParseException
java.io.IOException
public static Node parse(java.io.Reader in, java.lang.String desc) throws ParseException, java.io.IOException
ParseException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |