public class SmilesParserWrapper extends Object implements PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
static class |
SmilesParserWrapper.SMILES_PARSER |
Modifier and Type | Field and Description |
---|---|
protected OpenBabelShell |
babel |
protected org.openscience.cdk.smiles.SmilesParser |
cdkParser |
protected static Logger |
logger |
protected SmilesParserWrapper.SMILES_PARSER |
parser |
Modifier | Constructor and Description |
---|---|
protected |
SmilesParserWrapper() |
protected |
SmilesParserWrapper(SmilesParserWrapper.SMILES_PARSER mode) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
static SmilesParserWrapper |
getInstance() |
static SmilesParserWrapper |
getInstance(SmilesParserWrapper.SMILES_PARSER mode) |
SmilesParserWrapper.SMILES_PARSER |
getParser() |
org.openscience.cdk.interfaces.IAtomContainer |
parseSmiles(String smiles) |
org.openscience.cdk.interfaces.IAtomContainer |
parseSmiles(String smiles,
boolean addHydrogens) |
void |
propertyChange(PropertyChangeEvent evt) |
static void |
returnInstance(SmilesParserWrapper wrapper) |
void |
setParser(SmilesParserWrapper.SMILES_PARSER parser) |
protected static Logger logger
protected OpenBabelShell babel
protected org.openscience.cdk.smiles.SmilesParser cdkParser
protected SmilesParserWrapper.SMILES_PARSER parser
protected SmilesParserWrapper()
protected SmilesParserWrapper(SmilesParserWrapper.SMILES_PARSER mode)
public org.openscience.cdk.interfaces.IAtomContainer parseSmiles(String smiles) throws org.openscience.cdk.exception.InvalidSmilesException
org.openscience.cdk.exception.InvalidSmilesException
public org.openscience.cdk.interfaces.IAtomContainer parseSmiles(String smiles, boolean addHydrogens) throws org.openscience.cdk.exception.InvalidSmilesException
org.openscience.cdk.exception.InvalidSmilesException
public SmilesParserWrapper.SMILES_PARSER getParser()
public void setParser(SmilesParserWrapper.SMILES_PARSER parser)
public static SmilesParserWrapper getInstance(SmilesParserWrapper.SMILES_PARSER mode)
public static void returnInstance(SmilesParserWrapper wrapper)
public static SmilesParserWrapper getInstance()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.