Package org.biojavax.bio.phylo.io.nexus
Interface TreesBlockListener
- All Superinterfaces:
NexusBlockListener
- All Known Implementing Classes:
TreesBlockBuilder
Listens to events that represent Nexus trees blocks.
- Since:
- 1.6
- Author:
- Richard Holland, Tobias Thierer, Jim Balhoff
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTranslation
(String label, String taxa) Add a translation.void
addTree
(String label, TreesBlock.NewickTreeString tree) Adds a tree.Methods inherited from interface org.biojavax.bio.phylo.io.nexus.NexusBlockListener
beginComment, commentText, endBlock, endComment, endTokenGroup, startBlock
-
Method Details
-
addTranslation
Add a translation.- Parameters:
label
- the label to add.taxa
- the taxa name this label will represent.
-
addTree
Adds a tree.- Parameters:
label
- the label to give the tree.tree
- the tree to add.
-