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(WaitingHandler waitingHandler)
Returns the next header.Null if none.
|
public HeaderIterator(File fastaFile) throws FileNotFoundException
fastaFile
- the FASTA fileFileNotFoundException
- exception thrown if the file could not be
foundpublic String getNextHeader(WaitingHandler waitingHandler)
waitingHandler
- the waiting handlerpublic void close()
Copyright © 2021. All rights reserved.