Class FileRoot
java.lang.Object
com.eco.bio7.batch.FileRoot
This class provides static methods to get the Workspace, R, OpenOffice and
script path location of the Bio7 application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringA method to get the current compile file directory.static StringReturns the path of the workspace location of the Bio7 application.static StringReturns the general script path from the preferences.static StringReturns the grid script path from the preferences.static StringReturns the OpenOffice path from the preferences.static StringgetPluginsPath(String symbolicName, String relativePath) Returns the path to the plugins folder.static StringReturns the Python shell script path from the preferences.static StringReturns the R path from the preferences.static StringReturns the R shell script path from the preferences.static StringReturns the startup script path from the preferences.static StringReturns the workspace path.static voidsetCurrentCompileDir(String currentCompileDir) Sets the current compile directory.
-
Constructor Details
-
FileRoot
public FileRoot()
-
-
Method Details
-
getCurrentCompileDir
A method to get the current compile file directory. The directory is set before the compilation process.- Returns:
- the directory of the current file which will be compiled.
-
setCurrentCompileDir
Sets the current compile directory. For internal use.- Parameters:
currentCompileDir-
-
getFileRoot
Returns the path of the workspace location of the Bio7 application.- Returns:
- the path as a string.
-
getRLocation
Returns the R path from the preferences.- Returns:
- the path as a string.
-
getOOLocation
Returns the OpenOffice path from the preferences.- Returns:
- the path as a string.
-
getGeneralScriptLocation
Returns the general script path from the preferences.- Returns:
- the path as a string.
-
getStartupScriptLocation
Returns the startup script path from the preferences.- Returns:
- the path as a string.
-
getGridScriptLocation
Returns the grid script path from the preferences.- Returns:
- the path as a string.
-
getRShellScriptLocation
Returns the R shell script path from the preferences.- Returns:
- the path as a string.
-
getPythonShellScriptLocation
Returns the Python shell script path from the preferences.- Returns:
- the path as a string.
-
getWorkspacePath
-
getPluginsPath
-