jebl.evolution.io
Class NewickExporter
java.lang.Object
jebl.evolution.io.NewickExporter
- All Implemented Interfaces:
- TreeExporter
public class NewickExporter
- extends Object
- implements TreeExporter
- Author:
- Andrew Rambaut, Alexei Drummond
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewickExporter
public NewickExporter(Writer writer)
exportTree
public void exportTree(Tree tree)
throws IOException
- Export a single tree
- Specified by:
exportTree in interface TreeExporter
- Parameters:
tree -
- Throws:
IOException
exportTrees
public void exportTrees(Collection<? extends Tree> trees)
throws IOException
- Export a collection of trees
- Specified by:
exportTrees in interface TreeExporter
- Parameters:
trees -
- Throws:
IOException