|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pal.tree.SimpleTree | +--pal.tree.ReadTree
constructs a tree reading in a New Hampshire treefile, taking care for internal labels and branch lengths and binary/nonbinary and rooted/unrooted trees
Fields inherited from interface pal.misc.Units |
DAYS, EXPECTED_SUBSTITUTIONS, GENERATIONS, MONTHS, YEARS |
Constructor Summary | |
ReadTree(java.io.PushbackReader input)
read tree from input stream |
|
ReadTree(java.lang.String file)
read tree from file |
Methods inherited from class pal.tree.SimpleTree |
createNodeList, findNode, getAttribute, getExternalNode, getExternalNodeCount, getInternalNode, getInternalNodeCount, getRoot, getUnits, report, reroot, reroot, setAttribute, setRoot, setUnits, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReadTree(java.io.PushbackReader input) throws TreeParseException
input
- input streampublic ReadTree(java.lang.String file) throws TreeParseException, java.io.IOException
file
- name of file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |