public class TXTBasedAtomTypeConfigurator extends Object implements IAtomTypeConfigurator
Constructor and Description |
---|
TXTBasedAtomTypeConfigurator() |
Modifier and Type | Method and Description |
---|---|
List<IAtomType> |
readAtomTypes(IChemObjectBuilder builder)
Reads a text based configuration file.
|
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.