Package org.forester.io.writers
Class PhylogenyWriter
java.lang.Object
org.forester.io.writers.PhylogenyWriter
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PhylogenyWriter
void
setIndentPhyloxml
(boolean indent_phyloxml) void
toNewHampshire
(List<Phylogeny> trees, boolean write_distance_to_parent, File out_file, String separator) void
toNewHampshire
(Phylogeny[] trees, boolean write_distance_to_parent, File out_file, String separator) toNewHampshire
(Phylogeny tree, boolean nh_write_distance_to_parent) void
toNewHampshire
(Phylogeny tree, boolean write_distance_to_parent, File out_file) toNewHampshire
(Phylogeny tree, boolean nh_write_distance_to_parent, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs) void
toNewHampshire
(Phylogeny tree, boolean write_distance_to_parent, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs, File out_file) void
toNewHampshireX
(List<Phylogeny> trees, File out_file, String separator) toNewHampshireX
(Phylogeny tree) void
toNewHampshireX
(Phylogeny[] trees, File out_file, String separator) void
toNewHampshireX
(Phylogeny tree, File out_file) void
toNexus
(File out_file, Phylogeny tree, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs) void
toPhyloXML
(File out_file, List<Phylogeny> trees, int phyloxml_level, String separator) void
toPhyloXML
(File out_file, Phylogeny tree, int phyloxml_level) void
toPhyloXML
(Writer writer, List<Phylogeny> trees, int phyloxml_level, String separator) void
toPhyloXML
(Writer writer, Phylogeny[] trees, int phyloxml_level, String separator) void
toPhyloXML
(Writer writer, Phylogeny tree, int phyloxml_level) void
toPhyloXML
(Phylogeny[] trees, int phyloxml_level, File out_file, String separator) toPhyloXML
(Phylogeny tree, int phyloxml_level) void
toPhyloXML
(Phylogeny phy, int phyloxml_level, File out_file) static void
writeNexusTaxaBlock
(Writer writer, Phylogeny tree) static void
writeNexusTreesBlock
(Writer writer, List<Phylogeny> trees, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs)
-
Field Details
-
INDENT_PHYLOXML_DEAFULT
public static final boolean INDENT_PHYLOXML_DEAFULT- See Also:
-
PHYLO_XML_INTENDATION_BASE
- See Also:
-
PHYLO_XML_VERSION_ENCODING_LINE
- See Also:
-
PHYLO_XML_NAMESPACE_LINE
- See Also:
-
PHYLO_XML_END
- See Also:
-
-
Constructor Details
-
PhylogenyWriter
public PhylogenyWriter()
-
-
Method Details
-
setIndentPhyloxml
public void setIndentPhyloxml(boolean indent_phyloxml) -
toNewHampshire
public void toNewHampshire(List<Phylogeny> trees, boolean write_distance_to_parent, File out_file, String separator) throws IOException - Throws:
IOException
-
toNewHampshire
public StringBuffer toNewHampshire(Phylogeny tree, boolean nh_write_distance_to_parent, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs) throws IOException - Throws:
IOException
-
toNewHampshire
public StringBuffer toNewHampshire(Phylogeny tree, boolean nh_write_distance_to_parent) throws IOException - Throws:
IOException
-
toNewHampshire
public void toNewHampshire(Phylogeny tree, boolean write_distance_to_parent, File out_file) throws IOException - Throws:
IOException
-
toNewHampshire
public void toNewHampshire(Phylogeny tree, boolean write_distance_to_parent, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs, File out_file) throws IOException - Throws:
IOException
-
toNewHampshire
public void toNewHampshire(Phylogeny[] trees, boolean write_distance_to_parent, File out_file, String separator) throws IOException - Throws:
IOException
-
toNewHampshireX
public void toNewHampshireX(List<Phylogeny> trees, File out_file, String separator) throws IOException - Throws:
IOException
-
toNewHampshireX
- Throws:
IOException
-
toNewHampshireX
- Throws:
IOException
-
toNewHampshireX
- Throws:
IOException
-
toNexus
public void toNexus(File out_file, Phylogeny tree, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs) throws IOException - Throws:
IOException
-
toNexus
public StringBuffer toNexus(Phylogeny tree, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs) throws IOException - Throws:
IOException
-
toPhyloXML
public void toPhyloXML(File out_file, List<Phylogeny> trees, int phyloxml_level, String separator) throws IOException - Throws:
IOException
-
toPhyloXML
- Throws:
IOException
-
toPhyloXML
- Throws:
IOException
-
toPhyloXML
public void toPhyloXML(Phylogeny[] trees, int phyloxml_level, File out_file, String separator) throws IOException - Throws:
IOException
-
toPhyloXML
- Throws:
IOException
-
toPhyloXML
public void toPhyloXML(Writer writer, List<Phylogeny> trees, int phyloxml_level, String separator) throws IOException - Throws:
IOException
-
toPhyloXML
- Throws:
IOException
-
toPhyloXML
public void toPhyloXML(Writer writer, Phylogeny[] trees, int phyloxml_level, String separator) throws IOException - Throws:
IOException
-
createPhylogenyWriter
-
writeNexusTaxaBlock
- Throws:
IOException
-
writeNexusTreesBlock
public static void writeNexusTreesBlock(Writer writer, List<Phylogeny> trees, PhylogenyNode.NH_CONVERSION_SUPPORT_VALUE_STYLE svs) throws IOException - Throws:
IOException
-