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.
-
Method Summary
Modifier and TypeMethodDescriptionreadAtomTypes(IChemObjectBuilder builder) Reads a set of configured AtomType's into a List.voidSets the file containing the configuration data.
-
Method Details
-
setInputStream
Sets the file containing the configuration data.- Parameters:
ins- InputStream from which the atom type definitions are to be read
-
readAtomTypes
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
-