public class CDKBasedAtomTypeConfigurator extends Object implements IAtomTypeConfigurator
Constructor and Description |
---|
CDKBasedAtomTypeConfigurator() |
Modifier and Type | Method and Description |
---|---|
List<IAtomType> |
readAtomTypes(IChemObjectBuilder builder)
Reads the atom types from the CDK based atom type list.
|
void |
setInputStream(InputStream ins)
Sets the file containing the configuration data.
|
public void setInputStream(InputStream ins)
setInputStream
in interface IAtomTypeConfigurator
ins
- InputStream from which the atom type definitions are to be readpublic 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 InputStreamCopyright © 2021. All rights reserved.