|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjebl.evolution.io.PHYLIPExporter
public class PHYLIPExporter
Export alignment to Phylip format. Must be one of the most braindead format around. Try to output something that hopefuly any "Phylip supported" variant can read - up to 9 name chars, followed by a blank, followed by sequence on one line.
Constructor Summary | |
---|---|
PHYLIPExporter(java.io.Writer writer)
|
Method Summary | |
---|---|
void |
exportAlignment(Alignment alignment)
export one alignment. |
void |
exportTree(Tree tree)
Export a single tree |
void |
exportTrees(java.util.Collection<? extends Tree> trees)
Export a collection of trees |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PHYLIPExporter(java.io.Writer writer)
writer
- where export text goesMethod Detail |
---|
public void exportAlignment(Alignment alignment) throws java.io.IOException
AlignmentExporter
exportAlignment
in interface AlignmentExporter
alignment
- to export
java.io.IOException
public void exportTree(Tree tree) throws java.io.IOException
TreeExporter
exportTree
in interface TreeExporter
java.io.IOException
public void exportTrees(java.util.Collection<? extends Tree> trees) throws java.io.IOException
TreeExporter
exportTrees
in interface TreeExporter
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |