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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()final booleanhasNext()final Phylogenynext()final Phylogeny[]parse()final voidreset()final voidsetIgnoreQuotes(boolean ignore_quotes_in_nh_data) final voidsetReplaceUnderscores(boolean replace_underscores) final voidfinal voidsetTaxonomyExtraction(NHXParser.TAXONOMY_EXTRACTION taxonomy_extraction)
-
Constructor Details
-
NexusPhylogeniesParser
public NexusPhylogeniesParser()
-
-
Method Details
-
getName
- Specified by:
getNamein interfacePhylogenyParser
-
hasNext
public final boolean hasNext()- Specified by:
hasNextin interfaceIteratingPhylogenyParser
-
next
- Specified by:
nextin interfaceIteratingPhylogenyParser- Throws:
NHXFormatExceptionIOException
-
parse
- Specified by:
parsein interfacePhylogenyParser- Throws:
IOException
-
reset
- Specified by:
resetin interfaceIteratingPhylogenyParser- Throws:
FileNotFoundExceptionIOException
-
setIgnoreQuotes
public final void setIgnoreQuotes(boolean ignore_quotes_in_nh_data) -
setReplaceUnderscores
public final void setReplaceUnderscores(boolean replace_underscores) -
setSource
- Specified by:
setSourcein interfaceIteratingPhylogenyParser- Specified by:
setSourcein interfacePhylogenyParser- Throws:
PhylogenyParserExceptionIOException
-
setTaxonomyExtraction
-