Class ThermoRawFileParserProcessBuilder
java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.ThermoRawFileParserProcessBuilder
- All Implemented Interfaces:
Runnable
Process builder to run ThermoRawFileParser.
- Author:
- Harald Barsnes
-
Field Summary
Fields inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
exceptionHandler, waitingHandler -
Constructor Summary
ConstructorsConstructorDescriptionThermoRawFileParserProcessBuilder(File thermoRawFileParserFolder, File rawFile, File destinationFolder, com.compomics.util.experiment.mass_spectrometry.thermo_raw_file_parser.ThermoRawFileParserParameters thermoRawFileParserParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) Constructor for the process builder. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file name of the currently processed file.getType()Returns the type of the process.voidStarts the process of a process builder, gets the input stream from the process and shows it in a JEditorPane supporting HTML.Methods inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
endProcess, run
-
Constructor Details
-
ThermoRawFileParserProcessBuilder
public ThermoRawFileParserProcessBuilder(File thermoRawFileParserFolder, File rawFile, File destinationFolder, com.compomics.util.experiment.mass_spectrometry.thermo_raw_file_parser.ThermoRawFileParserParameters thermoRawFileParserParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) throws IOException, ClassNotFoundException Constructor for the process builder.- Parameters:
thermoRawFileParserFolder- the ThermoRawFileParser folderrawFile- the raw file to convertdestinationFolder- the destination folderthermoRawFileParserParameters- the ThermoRawFileParser parameterswaitingHandler- the waiting handlerexceptionHandler- the handler of exceptions- Throws:
IOException- thrown if there are problems accessing the filesClassNotFoundException- thrown if a class cannot be found
-
-
Method Details
-
startProcess
Description copied from class:SearchGUIProcessBuilderStarts the process of a process builder, gets the input stream from the process and shows it in a JEditorPane supporting HTML. Does not close until the process is completed.- Overrides:
startProcessin classSearchGUIProcessBuilder- Throws:
IOException- Exception thrown whenever an error occurred while reading the progress stream
-
getType
Description copied from class:SearchGUIProcessBuilderReturns the type of the process.- Specified by:
getTypein classSearchGUIProcessBuilder- Returns:
- the type of the process
-
getCurrentlyProcessedFileName
Description copied from class:SearchGUIProcessBuilderReturns the file name of the currently processed file.- Specified by:
getCurrentlyProcessedFileNamein classSearchGUIProcessBuilder- Returns:
- the file name of the currently processed file
-