|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChemObjectWriter
This 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.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.openscience.cdk.io.IChemObjectIO |
|---|
accepts, addChemObjectIOListener, addSetting, addSettings, close, getFormat, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener |
| Method Detail |
|---|
void write(IChemObject object)
throws CDKException
object - the object of which the content is outputed
CDKException - is thrown if the output
does not support the data in the object
void setWriter(Writer writer)
throws CDKException
CDKException
void setWriter(OutputStream writer)
throws CDKException
CDKException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||