public interface ISimpleChemObjectReader extends IChemObjectReader
The easiest way to implement a new ChemObjectReader is to subclass the DefaultChemObjectReader.
I don't know how this should be enforced, but a Reader should also provide an empty constructor so that ClassLoader/getInstance() can be used to instantiate a ChemObjectReader.
DefaultChemObjectReaderIChemObjectReader.Mode| Modifier and Type | Method and Description |
|---|---|
<T extends IChemObject> |
read(T object)
Reads an IChemObject of type "object" from input.
|
handleError, handleError, handleError, handleError, setErrorHandler, setReader, setReader, setReaderModeaccepts, addChemObjectIOListener, addSetting, addSettings, close, getFormat, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener<T extends IChemObject> T read(T object) throws CDKException
object - the type of object to returnCDKException - it is thrown if
the type of information is not available from
the inputCopyright © 2017. All rights reserved.