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, remove
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
public EventCMLReader(Reader input, IReaderListener listener, IChemObjectBuilder builder)
input
- Reader type inputlistener
- ReaderListener that listens to newMolecule events.public IResourceFormat getFormat()
IChemObjectIO
IResourceFormat
class for this IO class.public IAtomContainer getAtomContainer()
public void setReader(Reader reader) throws CDKException
CDKException
public void process() throws CDKException
CDKException
public void close() throws IOException
IChemObjectIO
IOException
- when the wrapper IO class cannot be closed.Copyright © 2021. All rights reserved.