public class LineageSequenceParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
delimiter |
Constructor and Description |
---|
LineageSequenceParser(java.io.File inFile)
Creates new RawSequenceParser to parse the input fasta file.
|
LineageSequenceParser(java.io.InputStream is)
Creates new RawSequenceParser to parse the input fasta file.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader.
|
boolean |
hasNext()
Returns true if there is a parsed sequence available.
|
LineageSequence |
next()
Returns the next parsed sequence.
|
public static final java.lang.String delimiter
public LineageSequenceParser(java.io.File inFile) throws java.io.IOException
java.io.IOException
public LineageSequenceParser(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public boolean hasNext() throws java.io.IOException
java.io.IOException
public LineageSequence next() throws java.util.NoSuchElementException, java.io.IOException
java.util.NoSuchElementException
java.io.IOException