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.IOExceptionpublic LineageSequenceParser(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic boolean hasNext()
throws java.io.IOException
java.io.IOExceptionpublic LineageSequence next() throws java.util.NoSuchElementException, java.io.IOException
java.util.NoSuchElementExceptionjava.io.IOException