public interface IdfileReader
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the file reader.
|
HashSet<SpectrumMatch> |
getAllSpectrumMatches(WaitingHandler waitingHandler)
This methods retrieves all the identifications from an identification
file as a list of spectrum matches It is very important to close the file
reader after creation.
|
String |
getExtension()
This method should return the extension of the file for which this IdfileReader can be used.
|
HashSet<SpectrumMatch> getAllSpectrumMatches(WaitingHandler waitingHandler) throws IOException, IllegalArgumentException, Exception
waitingHandler
- a waiting handler displaying the progress (can be null). The secondary progress methods will be called.IOException
- exception thrown whenever an error occurred while
reading the fileIllegalArgumentException
- exception thrown whenever an error occurred while
parsing the fileException
- exception thrown whenever an error occurred while
working with the fileString getExtension()
void close() throws IOException
IOException
Copyright © 2014. All Rights Reserved.