public class OpenBabelAbstractShell<X> extends ShellSDFoutput<X>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hydrogens |
static String |
OBABEL_EXE |
static String |
OBABEL_HOME |
readOutputenabled, executables, exitCode, inputFile, logger, os_FreeBSD, os_LINUX, os_LINUX64, os_MAC, os_WINDOWS, os_WINDOWS7, os_WINDOWSVISTA, outputFile, prefix, runAsync, workFolder| Constructor and Description |
|---|
OpenBabelAbstractShell() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getHomeDir(File file) |
protected String |
getOBabelHome() |
protected String |
getOutputFileName() |
protected String |
getOutputOption() |
protected String |
getPath(File file) |
protected void |
initialize() |
boolean |
isHydrogens() |
protected List<String> |
prepareInput(String path,
X mol)
Returns empty string, override with smth meaningfull
|
void |
setHydrogens(boolean hydrogens) |
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform(X mol) |
isReadOutput, parseOutput, setReadOutput, writeInputSDFaddExecutable, addExecutable, addExecutableFreeBSD, addExecutableLinux, addExecutableLinux64, addExecutableMac, addExecutableWin, close, exitCodeOK, getExecutable, getExecutable, getExitCode, getHomeFromConfig, getID, getInputFile, getMsgemptymolecule, getOutputFile, getWorkFolder, isEnabled, open, parseOutput, process, processStdOut, runShell, runShell, setEnabled, setExitCode, setInputFile, setOutputFile, setWorkFolder, transform_input, transformpublic static final String OBABEL_EXE
public static final String OBABEL_HOME
protected boolean hydrogens
public OpenBabelAbstractShell()
throws ShellException
ShellExceptionpublic boolean isHydrogens()
public void setHydrogens(boolean hydrogens)
protected String getOBabelHome() throws ShellException
ShellExceptionprotected void initialize()
throws ShellException
initialize in class ShellSDFoutput<X>ShellExceptionprotected String getOutputFileName()
protected String getOutputOption()
protected org.openscience.cdk.interfaces.IAtomContainer transform(X mol)
transform in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>protected String getPath(File file)
getPath in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>protected String getHomeDir(File file)
getHomeDir in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>protected List<String> prepareInput(String path, X mol) throws ShellException
CommandShellprepareInput in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.