Class MzIdentMLIdfileSearchParametersConverter
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.io.identification.MzIdentMLIdfileSearchParametersConverter
- All Implemented Interfaces:
Serializable
public class MzIdentMLIdfileSearchParametersConverter extends ExperimentObject
Reads basic search parameters from mzIdentML result files.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MzIdentMLIdfileSearchParametersConverter(File mzIdentMLFile, SearchParameters searchParameters, String species, WaitingHandler waitingHandler)
Constructor. -
Method Summary
Modifier and Type Method Description String
getSearchParameters()
Updated 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 IOExceptionConstructor.- 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
-