Class RserveRExecutor
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.r.AbstractRExecutor
fr.ens.biologie.genomique.eoulsan.util.r.RserveRExecutor
- All Implemented Interfaces:
RExecutor
This class define a RServe RExecutor.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRserveRExecutor(File outputDirectory, File temporaryDirectory, String serverName) Public constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidClose the connection.voidgetName()Get the name of the RExecutor.voidGet the output files of the analysisvoidOpen the connection.voidWrite a file.Methods inherited from class fr.ens.biologie.genomique.eoulsan.util.r.AbstractRExecutor
executeRScript, executeRScript, putInputFile, putInputFile, removeInputFiles
-
Field Details
-
REXECUTOR_NAME
- See Also:
-
-
Constructor Details
-
RserveRExecutor
public RserveRExecutor(File outputDirectory, File temporaryDirectory, String serverName) throws IOException Public constructor.- Parameters:
outputDirectory- the output directorytemporaryDirectory- the temporary directoryserverName- Rserve server name- Throws:
IOException- if an error occurs
-
-
Method Details
-
getName
Description copied from interface:RExecutorGet the name of the RExecutor.- Returns:
- the name of the RExecutor
-
getOutputFiles
Description copied from interface:RExecutorGet the output files of the analysis- Specified by:
getOutputFilesin interfaceRExecutor- Overrides:
getOutputFilesin classAbstractRExecutor- Throws:
IOException- if an error occurs while getting the output files
-
openConnection
Description copied from interface:RExecutorOpen the connection.- Specified by:
openConnectionin interfaceRExecutor- Overrides:
openConnectionin classAbstractRExecutor- Throws:
IOException- if an error occurs while opening the connection
-
closeConnection
Description copied from interface:RExecutorClose the connection.- Specified by:
closeConnectionin interfaceRExecutor- Overrides:
closeConnectionin classAbstractRExecutor- Throws:
IOException- if an error occurs while closing the connection
-
writeFile
Description copied from interface:RExecutorWrite a file.- Parameters:
content- the content of the fileoutputFilename- the output filename- Throws:
IOException- if an exception occurs while writing a file
-
executeR
- Throws:
IOException
-