Package org.openscience.cdk.config
Interface IAtomTypeConfigurator
-
- All Known Implementing Classes:
CDKBasedAtomTypeConfigurator
,OWLBasedAtomTypeConfigurator
,TXTBasedAtomTypeConfigurator
public interface IAtomTypeConfigurator
Interface that allows reading atom type configuration data from some source.- Source code:
- main
- Belongs to CDK module:
- core
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IAtomType>
readAtomTypes(IChemObjectBuilder builder)
Reads a set of configured AtomType's into a List.void
setInputStream(InputStream ins)
Sets the file containing the configuration data.
-
-
-
Method Detail
-
setInputStream
void setInputStream(InputStream ins)
Sets the file containing the configuration data.- Parameters:
ins
- InputStream from which the atom type definitions are to be read
-
readAtomTypes
List<IAtomType> readAtomTypes(IChemObjectBuilder builder) throws IOException
Reads a set of configured AtomType's into a List.- Parameters:
builder
- INewChemObjectBuilder used to instantiate the AtomType's.- Returns:
- A List containing the AtomTypes extracted from the InputStream
- Throws:
IOException
- when something went wrong with reading the data
-
-