@TestClass(value="org.openscience.cdk.config.OWLBasedAtomTypeConfiguratorTest") public class OWLBasedAtomTypeConfigurator extends Object implements IAtomTypeConfigurator
Constructor and Description |
---|
OWLBasedAtomTypeConfigurator() |
Modifier and Type | Method and Description |
---|---|
List<IAtomType> |
readAtomTypes(IChemObjectBuilder builder)
Reads the atom types from the OWL based atom type list.
|
void |
setInputStream(InputStream ins)
Sets the file containing the config data.
|
@TestMethod(value="testCDKBasedAtomTypeConfigurator") public OWLBasedAtomTypeConfigurator()
@TestMethod(value="testSetInputStream_InputStream") public void setInputStream(InputStream ins)
IAtomTypeConfigurator
setInputStream
in interface IAtomTypeConfigurator
ins
- InputStream from which the atom type definitions are to be read@TestMethod(value="testReadAtomTypes_IChemObjectBuilder") public List<IAtomType> readAtomTypes(IChemObjectBuilder builder) throws IOException
readAtomTypes
in interface IAtomTypeConfigurator
builder
- IChemObjectBuilder used to construct the IAtomType's.IOException
- when a problem occurred with reading from the InputStream