public class PhylipFactory extends AbstractPhylipFactory
checkFormat()
methods of this factory cannot determine the difference between sequential and non-sequential Phylip.SequentialPhylipFactoryMAXIMUM_EXPECTED_DIGITS_OR_WHITESPACEDEFAULT_NAME_LENGTH, PHYLIP_FORMAT_NAME, PREMATURE_NAME_END_CHARACTER, RELAXED_PHYLIP_NAME_PATTERN, SEQUENTIAL_PHYLIP_FORMAT_NAMEFASTA_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, hasWritercheckFormat, getFormatInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckFormat, getFormatInfopublic PhylipFactory()
public JPhyloIOEventReader getReader(java.io.InputStream stream, ReadWriteParameterMap parameters) throws java.io.IOException
SingleReaderWriterFactorystream - the stream to provide the content for the readerparameters - the parameter map for the new reader instancejava.io.IOExceptionpublic JPhyloIOEventReader getReader(java.io.Reader reader, ReadWriteParameterMap parameters) throws java.io.IOException
SingleReaderWriterFactoryparameters - the parameter map for the new reader instancenull if this factory is not able to create readersjava.io.IOExceptionSingleReaderWriterFactory.hasReader()protected JPhyloIOFormatInfo createFormatInfo()
createFormatInfo in class AbstractSingleReaderWriterFactory