public class PhylipFactory extends AbstractPhylipFactory
checkFormat()
methods of this factory cannot determine the difference between sequential and non-sequential Phylip.SequentialPhylipFactory
MAXIMUM_EXPECTED_DIGITS_OR_WHITESPACE
DEFAULT_NAME_LENGTH, PHYLIP_FORMAT_NAME, PREMATURE_NAME_END_CHARACTER, RELAXED_PHYLIP_NAME_PATTERN, SEQUENTIAL_PHYLIP_FORMAT_NAME
FASTA_FORMAT_ID, FORMAT_ID_PREFIX, MEGA_FORMAT_ID, NEWICK_FORMAT_ID, NEXML_FORMAT_ID, NEXUS_FORMAT_ID, PDE_FORMAT_ID, PHYLIP_FORMAT_ID, PHYLOXML_FORMAT_ID, SEQUENTIAL_PHYLIP_FORMAT_ID, XTG_FORMAT_ID
Constructor and Description |
---|
PhylipFactory() |
Modifier and Type | Method and Description |
---|---|
protected JPhyloIOFormatInfo |
createFormatInfo() |
JPhyloIOEventReader |
getReader(java.io.InputStream stream,
ReadWriteParameterMap parameters)
Creates a new reader instance for the target format of this factory.
|
JPhyloIOEventReader |
getReader(java.io.Reader reader,
ReadWriteParameterMap parameters)
Creates a new reader instance for the target format of this factory.
|
checkFormat, createFormatInfo, getWriter, hasReader, hasWriter
checkFormat, getFormatInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkFormat, getFormatInfo
public PhylipFactory()
public JPhyloIOEventReader getReader(java.io.InputStream stream, ReadWriteParameterMap parameters) throws java.io.IOException
SingleReaderWriterFactory
stream
- the stream to provide the content for the readerparameters
- the parameter map for the new reader instancejava.io.IOException
public JPhyloIOEventReader getReader(java.io.Reader reader, ReadWriteParameterMap parameters) throws java.io.IOException
SingleReaderWriterFactory
parameters
- the parameter map for the new reader instancenull
if this factory is not able to create readersjava.io.IOException
SingleReaderWriterFactory.hasReader()
protected JPhyloIOFormatInfo createFormatInfo()
createFormatInfo
in class AbstractSingleReaderWriterFactory