public class BioJavaFastaProteinReader extends Object implements IterativeReader<Protein>
EMPTY_READER| Constructor and Description |
|---|
BioJavaFastaProteinReader(File file) |
BioJavaFastaProteinReader(InputStream is) |
public BioJavaFastaProteinReader(File file)
public BioJavaFastaProteinReader(InputStream is)
public boolean hasNext()
IterativeReadertrue if the reader has more elements.
(In other words, returns true if IterativeReader.next() would
return an element rather than throwing an exception.)hasNext in interface IterativeReader<Protein>true if the reader has more elementspublic Protein next() throws IOException
IterativeReadernext in interface IterativeReader<Protein>IOException - if there is an io exceptionpublic void close()
throws IOException
IterativeReaderclose in interface IterativeReader<Protein>IOException - If an I/O error occursCopyright © 2016. All Rights Reserved.