|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.io.identifications.idfilereaders.AndromedaIdfileReader
public class AndromedaIdfileReader
This IdfileReader reads identifications from an Andromeda result file.
Constructor Summary | |
---|---|
AndromedaIdfileReader()
|
|
AndromedaIdfileReader(File resFile)
Constructor for an Andromeda result file reader. |
|
AndromedaIdfileReader(File resFile,
WaitingHandler waitingHandler)
Constructor for an Andromeda result file reader. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject |
---|
addUrParam, getParameterKey, getUrParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndromedaIdfileReader()
public AndromedaIdfileReader(File resFile) throws FileNotFoundException, IOException
resFile
-
FileNotFoundException
IOException
public AndromedaIdfileReader(File resFile, WaitingHandler waitingHandler) throws FileNotFoundException, IOException
resFile
- waitingHandler
-
FileNotFoundException
IOException
Method Detail |
---|
public String getExtension()
IdfileReader
getExtension
in interface IdfileReader
public HashSet<SpectrumMatch> getAllSpectrumMatches(WaitingHandler waitingHandler) throws IOException, IllegalArgumentException, Exception
IdfileReader
getAllSpectrumMatches
in interface IdfileReader
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 file
IllegalArgumentException
- exception thrown whenever an error occurred while
parsing the file
Exception
- exception thrown whenever an error occurred while
working with the filepublic void close() throws IOException
IdfileReader
close
in interface IdfileReader
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |