- All Known Implementing Classes:
public interface IChemObjectWriter extends IChemObjectIOThis class is the interface that all IO writers should implement. Programs need only care about this interface for any kind of IO.
Currently, database IO and file IO is supported. Internet IO is expected.
- Source code:
- Belongs to CDK module:
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
setWriter(OutputStream writer)Sets the OutputStream from which this ChemObjectWriter should write the contents.
setWriter(Writer writer)Sets the Writer from which this ChemObjectWriter should write the contents.
write(IChemObject object)Writes the content of "object" to output.
void write(IChemObject object) throws CDKExceptionWrites the content of "object" to output.
object- the object of which the content is outputted
CDKException- is thrown if the output does not support the data in the object
void setWriter(Writer writer) throws CDKExceptionSets the Writer from which this ChemObjectWriter should write the contents.