Class MzIdentMLIdfileSearchParametersConverter
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.io.identification.MzIdentMLIdfileSearchParametersConverter
- All Implemented Interfaces:
Serializable
Reads basic search parameters from mzIdentML result files.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
ConstructorsConstructorDescriptionMzIdentMLIdfileSearchParametersConverter(File mzIdentMLFile, SearchParameters searchParameters, String species, WaitingHandler waitingHandler) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionUpdated the search parameters object and returns the search parameters as a string.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
MzIdentMLIdfileSearchParametersConverter
public MzIdentMLIdfileSearchParametersConverter(File mzIdentMLFile, SearchParameters searchParameters, String species, WaitingHandler waitingHandler) throws IOException Constructor.- Parameters:
mzIdentMLFile- the mzIdentML filesearchParameters- the search parametersspecies- the specieswaitingHandler- the waiting handler- Throws:
FileNotFoundException- if a FileNotFoundException occursIOException- if an IOException occurs
-
-
Method Details
-
getSearchParameters
public String getSearchParameters() throws FileNotFoundException, IOException, ClassNotFoundException, org.xmlpull.v1.XmlPullParserExceptionUpdated the search parameters object and returns the search parameters as a string.- Returns:
- the search parameters as a string
- Throws:
FileNotFoundException- if a FileNotFoundException occursIOException- if a IOException occursClassNotFoundException- if a ClassNotFoundException occursorg.xmlpull.v1.XmlPullParserException- if XmlPullParserException occurs
-