public class HeaderIterator extends Object
Constructor and Description |
---|
HeaderIterator(File fastaFile)
Constructor without sanity check.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the iterator.
|
String |
getNextHeader()
Returns the next header.
|
public HeaderIterator(File fastaFile) throws FileNotFoundException
fastaFile
- the fasta fileFileNotFoundException
- exception thrown if the file could not be
foundpublic String getNextHeader()
public void close()
Copyright © 2018. All rights reserved.