IteratingPhylogenyParser
, PhylogenyParser
public final class NexusPhylogeniesParser extends java.lang.Object implements IteratingPhylogenyParser, PhylogenyParser
Constructor | Description |
---|---|
NexusPhylogeniesParser() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
|
boolean |
hasNext() |
|
Phylogeny |
next() |
|
Phylogeny[] |
parse() |
|
void |
reset() |
|
void |
setIgnoreQuotes(boolean ignore_quotes_in_nh_data) |
|
void |
setReplaceUnderscores(boolean replace_underscores) |
|
void |
setSource(java.lang.Object nexus_source) |
|
void |
setTaxonomyExtraction(NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction) |
public java.lang.String getName()
getName
in interface PhylogenyParser
public final boolean hasNext()
hasNext
in interface IteratingPhylogenyParser
public final Phylogeny next() throws NHXFormatException, java.io.IOException
next
in interface IteratingPhylogenyParser
NHXFormatException
java.io.IOException
public final Phylogeny[] parse() throws java.io.IOException
parse
in interface PhylogenyParser
java.io.IOException
public final void reset() throws java.io.FileNotFoundException, java.io.IOException
reset
in interface IteratingPhylogenyParser
java.io.FileNotFoundException
java.io.IOException
public final void setIgnoreQuotes(boolean ignore_quotes_in_nh_data)
public final void setReplaceUnderscores(boolean replace_underscores)
public final void setSource(java.lang.Object nexus_source) throws PhylogenyParserException, java.io.IOException
setSource
in interface IteratingPhylogenyParser
setSource
in interface PhylogenyParser
PhylogenyParserException
java.io.IOException
public final void setTaxonomyExtraction(NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction)