IteratingPhylogenyParser, PhylogenyParserpublic 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 PhylogenyParserpublic final boolean hasNext()
hasNext in interface IteratingPhylogenyParserpublic final Phylogeny next() throws NHXFormatException, java.io.IOException
next in interface IteratingPhylogenyParserNHXFormatExceptionjava.io.IOExceptionpublic final Phylogeny[] parse() throws java.io.IOException
parse in interface PhylogenyParserjava.io.IOExceptionpublic final void reset()
throws java.io.FileNotFoundException,
java.io.IOException
reset in interface IteratingPhylogenyParserjava.io.FileNotFoundExceptionjava.io.IOExceptionpublic 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 IteratingPhylogenyParsersetSource in interface PhylogenyParserPhylogenyParserExceptionjava.io.IOExceptionpublic final void setTaxonomyExtraction(NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction)