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, transformaddExecutable, 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, transformprotected 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
ShellExceptionpublic VegaShell(String config) throws ShellException
ShellExceptionprotected 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 AbstractDescriptorShellShellExceptionprotected List<String> prepareInput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShellprepareInput in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected void initialize()
throws ShellException
initialize in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected 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>ShellExceptionprotected org.openscience.cdk.interfaces.IAtomContainer parseOutput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShellparseOutput in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionpublic org.openscience.cdk.interfaces.IAtomContainer runShell(org.openscience.cdk.interfaces.IAtomContainer mol)
throws ShellException
runShell in class AbstractDescriptorShellShellExceptionpublic 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.AmbitExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.