Class MsConvertProcessBuilder
java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.MsConvertProcessBuilder
- All Implemented Interfaces:
Runnable
Process builder to run msconvert.
- Author:
- Marc Vaudel, Harald Barsnes
-
Field Summary
Fields inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
exceptionHandler, waitingHandler -
Constructor Summary
ConstructorsConstructorDescriptionMsConvertProcessBuilder(File rawFile, File destinationFolder, com.compomics.util.experiment.mass_spectrometry.proteowizard.MsConvertParameters msConvertParameters, 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
-
MsConvertProcessBuilder
public MsConvertProcessBuilder(File rawFile, File destinationFolder, com.compomics.util.experiment.mass_spectrometry.proteowizard.MsConvertParameters msConvertParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) throws IOException, ClassNotFoundException Constructor for the process builder.- Parameters:
rawFile- the raw file to convertdestinationFolder- the destination foldermsConvertParameters- the msconvert 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
-