public interface IChemObjectWriter extends IChemObjectIO
Currently, database IO and file IO is supported. Internet IO is expected.
Modifier and Type | Method and Description |
---|---|
void |
setWriter(OutputStream writer)
Sets the OutputStream from which this ChemObjectWriter should write
the contents.
|
void |
setWriter(Writer writer)
Sets the Writer from which this ChemObjectWriter should write
the contents.
|
void |
write(IChemObject object)
Writes the content of "object" to output.
|
accepts, addChemObjectIOListener, addSetting, addSettings, close, getFormat, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
void write(IChemObject object) throws CDKException
object
- the object of which the content is outputtedCDKException
- is thrown if the output
does not support the data in the objectvoid setWriter(Writer writer) throws CDKException
CDKException
void setWriter(OutputStream writer) throws CDKException
CDKException
Copyright © 2021. All rights reserved.