|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.io.identifications.IdfileReaderFactory
public class IdfileReaderFactory
This factory will provide the appropriate identification file reader for each type of file. Null when the format is not supported. Created by IntelliJ IDEA. User: Marc Date: Jun 23, 2010 Time: 5:33:24 PM
Method Summary | |
---|---|
IdfileReader |
getFileReader(File aFile)
This method returns the proper identification file reader depending on the format of the provided file |
IdfileReader |
getFileReader(File aFile,
SpectrumCollection spectrumCollection)
This method returns the proper identification file reader depending on the format of the provided file. |
static IdfileReaderFactory |
getInstance()
A static method to retrieve the instance of the factory |
int |
getSearchEngine(File aFile)
This method return the search engine corresponding to the given file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IdfileReaderFactory getInstance()
public IdfileReader getFileReader(File aFile) throws SAXException
aFile
- the file to parse
SAXException
public IdfileReader getFileReader(File aFile, SpectrumCollection spectrumCollection) throws SAXException
aFile
- the file to parsespectrumCollection
- the spectrum collection where to store the spectrum information
SAXException
public int getSearchEngine(File aFile)
aFile
- an identification file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |