ambit2.core.smiles
Class SmilesParserWrapper
java.lang.Object
ambit2.core.smiles.SmilesParserWrapper
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
public class SmilesParserWrapper
- extends java.lang.Object
- implements java.beans.PropertyChangeListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapper
protected static SmilesParserWrapper wrapper
babel
protected OpenBabelShell babel
cdkParser
protected org.openscience.cdk.smiles.SmilesParser cdkParser
dbt
protected DeduceBondSystemTool dbt
parser
protected SmilesParserWrapper.SMILES_PARSER parser
SmilesParserWrapper
protected SmilesParserWrapper()
SmilesParserWrapper
protected SmilesParserWrapper(SmilesParserWrapper.SMILES_PARSER mode)
parseSmiles
public org.openscience.cdk.interfaces.IMolecule parseSmiles(java.lang.String smiles)
throws org.openscience.cdk.exception.InvalidSmilesException
- Throws:
org.openscience.cdk.exception.InvalidSmilesException
getParser
public SmilesParserWrapper.SMILES_PARSER getParser()
setParser
public void setParser(SmilesParserWrapper.SMILES_PARSER parser)
getInstance
public static SmilesParserWrapper getInstance(SmilesParserWrapper.SMILES_PARSER mode)
getInstance
public static SmilesParserWrapper getInstance()
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener