public class EventCMLReader extends DefaultEventChemObjectReader
| Constructor and Description |
|---|
EventCMLReader(Reader input,
IReaderListener listener,
IChemObjectBuilder builder)
Define this CMLReader to take the input from a java.io.Reader
class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this IChemObjectIO's resources.
|
IAtomContainer |
getAtomContainer() |
IResourceFormat |
getFormat()
Returns the
IResourceFormat class for this IO class. |
void |
process()
Starts the reading of the CML file.
|
void |
setReader(Reader reader) |
accepts, accepts, fireFrameRead, removeaddChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerpublic EventCMLReader(Reader input, IReaderListener listener, IChemObjectBuilder builder)
input - Reader type inputlistener - ReaderListener that listens to newMolecule events.public IResourceFormat getFormat()
IChemObjectIOIResourceFormat class for this IO class.public IAtomContainer getAtomContainer()
public void setReader(Reader reader) throws CDKException
CDKExceptionpublic void process()
throws CDKException
CDKExceptionpublic void close()
throws IOException
IChemObjectIOIOException - when the wrapper IO class cannot be closed.Copyright © 2018. All Rights Reserved.