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, close, getFormat, getIOSettings, removeChemObjectIOListener
void write(IChemObject object) throws CDKException
object
- the object of which the content is outputedCDKException
- 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