public class VegaShell extends AbstractDescriptorShell
Modifier and Type | Field and Description |
---|---|
protected String |
config |
protected String[] |
inFile |
static String |
JAVA_BIN |
static String |
JAVA_EXE |
static String |
JAVA_HOME |
protected String[] |
outFile |
static String |
VEGA_HOME |
enabled, executables, exitCode, inputFile, logger, os_FreeBSD, os_LINUX, os_LINUX64, os_MAC, os_WINDOWS, os_WINDOWS7, os_WINDOWSVISTA, outputFile, prefix, runAsync, workFolder
Modifier and Type | Method and Description |
---|---|
List<Property> |
createProperties() |
protected String |
getConfig() |
protected String |
getHome() |
protected String |
getHomeDir(File file) |
Map<String,Property> |
getProperties() |
protected void |
initialize() |
protected Map<String,Property> |
loadProperties() |
protected org.openscience.cdk.interfaces.IAtomContainer |
parseOutput(String path,
org.openscience.cdk.interfaces.IAtomContainer mol)
Does nothing, override with smth meaningfull
|
protected List<String> |
prepareInput(String path,
org.openscience.cdk.interfaces.IAtomContainer mol)
Returns empty string, override with smth meaningfull
|
org.openscience.cdk.interfaces.IAtomContainer |
process(org.openscience.cdk.interfaces.IAtomContainer target) |
org.openscience.cdk.interfaces.IAtomContainer |
runShell(org.openscience.cdk.interfaces.IAtomContainer mol) |
protected void |
setConfig(String config) |
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform_input(org.openscience.cdk.interfaces.IAtomContainer mol) |
canApply, getPath, transform
addExecutable, addExecutable, addExecutableFreeBSD, addExecutableLinux, addExecutableLinux64, addExecutableMac, addExecutableWin, close, exitCodeOK, getExecutable, getExecutable, getExitCode, getHomeFromConfig, getID, getInputFile, getMsgemptymolecule, getOutputFile, getWorkFolder, isEnabled, open, parseOutput, processStdOut, runShell, setEnabled, setExitCode, setInputFile, setOutputFile, setWorkFolder, transform
protected String config
public static final String JAVA_EXE
public static final String VEGA_HOME
public static final String JAVA_HOME
public static final String JAVA_BIN
protected String[] inFile
protected String[] outFile
public VegaShell() throws ShellException
ShellException
public VegaShell(String config) throws ShellException
ShellException
protected String getConfig()
protected void setConfig(String config)
protected String getHomeDir(File file)
getHomeDir
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
protected String getHome() throws ShellException
getHome
in class AbstractDescriptorShell
ShellException
protected List<String> prepareInput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShell
prepareInput
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected void initialize() throws ShellException
initialize
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected org.openscience.cdk.interfaces.IAtomContainer transform_input(org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
transform_input
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected org.openscience.cdk.interfaces.IAtomContainer parseOutput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShell
parseOutput
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
public org.openscience.cdk.interfaces.IAtomContainer runShell(org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
runShell
in class AbstractDescriptorShell
ShellException
public org.openscience.cdk.interfaces.IAtomContainer process(org.openscience.cdk.interfaces.IAtomContainer target) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
process
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.