|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.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 goes| Method Detail |
|---|
public void exportAlignment(Alignment alignment)
throws IOException
exportAlignment in interface AlignmentExporterIOException
public void exportSequences(Collection<? extends Sequence> sequences)
throws IOException,
IllegalArgumentException
exportSequences in interface SequenceExporterIOException
IllegalArgumentException
public void exportTree(Tree tree)
throws IOException
exportTree in interface TreeExportertree -
IOException
public void exportTrees(Collection<? extends Tree> trees)
throws IOException
exportTrees in interface TreeExporterIOException
public void exportTreesWithTranslation(Collection<? extends Tree> trees,
Map<String,String> t)
throws IOException
IOExceptionpublic 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 | |||||||||