|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.evolution.io.NexusExporter
public class NexusExporter
Export sequences and trees to Nexus format.
Field Summary | |
---|---|
static String |
treeNameAttributeKey
|
protected PrintWriter |
writer
|
Constructor Summary | |
---|---|
NexusExporter(Writer writer)
|
Method Summary | |
---|---|
void |
exportAlignment(Alignment alignment)
exportAlignment. |
void |
exportMatrix(DistanceMatrix distanceMatrix)
|
void |
exportSequences(Collection<? extends Sequence> sequences)
export alignment. |
void |
exportTree(Tree tree)
Export a single tree |
void |
exportTrees(Collection<? extends Tree> trees)
export trees |
void |
exportTreesWithTranslation(Collection<? extends Tree> trees,
Map<String,String> t)
|
static boolean |
isGeneratedTreeName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String treeNameAttributeKey
protected final PrintWriter writer
Constructor Detail |
---|
public NexusExporter(Writer writer)
writer
- where export text goesMethod Detail |
---|
public void exportAlignment(Alignment alignment) throws IOException
exportAlignment
in interface AlignmentExporter
IOException
public void exportSequences(Collection<? extends Sequence> sequences) throws IOException, IllegalArgumentException
exportSequences
in interface SequenceExporter
IOException
IllegalArgumentException
public void exportTree(Tree tree) throws IOException
exportTree
in interface TreeExporter
tree
-
IOException
public void exportTrees(Collection<? extends Tree> trees) throws IOException
exportTrees
in interface TreeExporter
IOException
public void exportTreesWithTranslation(Collection<? extends Tree> trees, Map<String,String> t) throws IOException
IOException
public void exportMatrix(DistanceMatrix distanceMatrix)
public static boolean isGeneratedTreeName(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |