|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflattree.config.FlatTree
public class FlatTree
A configurator of a tree's Nodes utilizing an XML configuration.
| Constructor Summary | |
|---|---|
FlatTree(File file)
Configure from the given file. |
|
FlatTree(InputStream input)
Configure from the given input. |
|
FlatTree(Reader reader)
Configure from the given reader. |
|
| Method Summary | |
|---|---|
Node |
getRoot()
Get the root Node of the configured tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlatTree(File file)
throws IOException
file - file to read configuration from
IOException
public FlatTree(InputStream input)
throws IOException
input - input to read configuration from - will not be closed
IOException
public FlatTree(Reader reader)
throws IOException
reader - reader to read configuration from - will not be closed
IOException| Method Detail |
|---|
public Node getRoot()
Node of the configured tree.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||