Constructor and Description |
---|
NewickParser(BufferedReader b)
This constructor initialize the newick parser
|
Modifier and Type | Method and Description |
---|---|
PhyloTree |
tokenize()
This method construct a
PhyloTree from the given input stream |
public NewickParser(BufferedReader b)
b
- the BufferedReader
which reads the newick filepublic PhyloTree tokenize() throws NonParsableException
PhyloTree
from the given input streamPhyloTree
NonParsableException
- if the stream is not parsable