Package org.forester.io.parsers.nexus
Class NexusPhylogeniesParser
java.lang.Object
org.forester.io.parsers.nexus.NexusPhylogeniesParser
- All Implemented Interfaces:
IteratingPhylogenyParser
,PhylogenyParser
public final class NexusPhylogeniesParser
extends Object
implements IteratingPhylogenyParser, PhylogenyParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
final boolean
hasNext()
final Phylogeny
next()
final Phylogeny[]
parse()
final void
reset()
final void
setIgnoreQuotes
(boolean ignore_quotes_in_nh_data) final void
setReplaceUnderscores
(boolean replace_underscores) final void
final void
setTaxonomyExtraction
(NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction)
-
Constructor Details
-
NexusPhylogeniesParser
public NexusPhylogeniesParser()
-
-
Method Details
-
getName
- Specified by:
getName
in interfacePhylogenyParser
-
hasNext
public final boolean hasNext()- Specified by:
hasNext
in interfaceIteratingPhylogenyParser
-
next
- Specified by:
next
in interfaceIteratingPhylogenyParser
- Throws:
NHXFormatException
IOException
-
parse
- Specified by:
parse
in interfacePhylogenyParser
- Throws:
IOException
-
reset
- Specified by:
reset
in interfaceIteratingPhylogenyParser
- Throws:
FileNotFoundException
IOException
-
setIgnoreQuotes
public final void setIgnoreQuotes(boolean ignore_quotes_in_nh_data) -
setReplaceUnderscores
public final void setReplaceUnderscores(boolean replace_underscores) -
setSource
- Specified by:
setSource
in interfaceIteratingPhylogenyParser
- Specified by:
setSource
in interfacePhylogenyParser
- Throws:
PhylogenyParserException
IOException
-
setTaxonomyExtraction
-