public class MgfFileIterator extends Object
| Constructor and Description |
|---|
MgfFileIterator(File mgfFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Indicates whether the file contains another spectrum.
|
MSnSpectrum |
next()
Returns the next spectrum in the file.
|
public MgfFileIterator(File mgfFile) throws FileNotFoundException, IOException
mgfFile - the file to go throughFileNotFoundException - if a FileNotFoundException occursIOException - if an IOException occurspublic boolean hasNext()
public MSnSpectrum next() throws IOException
IOException - if an IOException occursCopyright © 2016. All rights reserved.