public class ArffWriter extends FilesWithHeaderWriter
Modifier and Type | Field and Description |
---|---|
protected BufferedWriter |
writer |
addSMILEScolumn, defaultSMILESHeader, header, logger, smilesIndex, writingStarted
Constructor and Description |
---|
ArffWriter(Writer out) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class arg0) |
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
void |
setWriter(OutputStream out) |
void |
setWriter(Writer arg0) |
void |
write(org.openscience.cdk.interfaces.IChemObject mol) |
protected void |
writeHeader() |
getHeader, isAddSMILEScolumn, setAddSMILEScolumn, setHeader, setHeader
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
protected BufferedWriter writer
public ArffWriter(Writer out)
protected void writeHeader() throws IOException
writeHeader
in class FilesWithHeaderWriter
IOException
public void setWriter(Writer arg0) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setWriter(OutputStream out) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void write(org.openscience.cdk.interfaces.IChemObject mol) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public boolean accepts(Class arg0)
public void close() throws IOException
IOException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.