public class HINWriter extends DefaultChemObjectWriter
| Constructor and Description |
|---|
HINWriter() |
HINWriter(OutputStream output) |
HINWriter(Writer out)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Class<? extends IChemObject> classObject) |
void |
close()
Flushes the output and closes this object.
|
IResourceFormat |
getFormat() |
void |
setWriter(OutputStream output) |
void |
setWriter(Writer out) |
void |
write(IChemObject object) |
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerpublic HINWriter(Writer out)
out - the stream to write the HIN file to.public HINWriter(OutputStream output)
public HINWriter()
public IResourceFormat getFormat()
public void setWriter(Writer out) throws CDKException
CDKExceptionpublic void setWriter(OutputStream output) throws CDKException
CDKExceptionpublic void close()
throws IOException
IOExceptionpublic boolean accepts(Class<? extends IChemObject> classObject)
public void write(IChemObject object) throws CDKException
CDKExceptionCopyright © 2017. All rights reserved.