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 Details

    • 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