|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdfileReader
This interface will retrieve spectrum matches from any identification file.
Method Summary | |
---|---|
void |
close()
Closes the file reader. |
java.util.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. |
java.lang.String |
getExtension()
This method should return the extension of the file for which this IdfileReader can be used. |
Method Detail |
---|
java.util.HashSet<SpectrumMatch> getAllSpectrumMatches(WaitingHandler waitingHandler) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.Exception
waitingHandler
- a waiting handler displaying the progress (can be null). The secondary progress methods will be called.
java.io.IOException
- exception thrown whenever an error occurred while
reading the file
java.lang.IllegalArgumentException
- exception thrown whenever an error occurred while
parsing the file
java.lang.Exception
- exception thrown whenever an error occurred while
working with the filejava.lang.String getExtension()
void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |