|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to parse in and out trees. In order to define
your own parser you can extend the class AbstractTreeParser
and make the necessary changes in your property file.
Method Summary | |
Node |
parseIn(java.io.InputStream tree)
Returns the root of the parsed tree. |
void |
parseIn(Node tree,
java.io.InputStream treeInfo)
Adding information to the existing tree. |
void |
parseIn(Node tree,
java.lang.String treeInfo)
Adding information to the existing tree. |
Node |
parseIn(java.lang.String tree)
Returns the root of the parsed tree. |
java.lang.String |
parseOut(Node tree)
This method will parse out the tree to a string. |
void |
parseOut(java.io.OutputStream outputStream,
Node tree)
This method will parse out the tree to the output stream. |
Method Detail |
public Node parseIn(java.io.InputStream tree)
tree
- is the input stream from which the tree is parsed
Node
public Node parseIn(java.lang.String tree)
tree
- is the string from which the tree is parsed
Node
public void parseIn(Node tree, java.io.InputStream treeInfo)
tree
- is the existing tree.treeInfo
- is a stream in a tree format containing the
information to be added.public void parseIn(Node tree, java.lang.String treeInfo)
tree
- is the existing tree.treeInfo
- is a string in a tree format containing the
information to be added.public void parseOut(java.io.OutputStream outputStream, Node tree)
outputStream
- is the stream to which the tree will be parsed
out to.tree
- is the tree that are parsed outNode
public java.lang.String parseOut(Node tree)
tree
- is the tree that is parsed outNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |