public class DelimitedFileWriter extends FilesWithHeaderWriter
Modifier and Type | Field and Description |
---|---|
protected DelimitedFileFormat |
format |
protected org.openscience.cdk.smiles.SmilesGenerator |
sg |
protected BufferedWriter |
writer |
addSMILEScolumn, defaultSMILESHeader, header, logger, smilesIndex, writingStarted
Constructor and Description |
---|
DelimitedFileWriter(OutputStream input) |
DelimitedFileWriter(OutputStream input,
DelimitedFileFormat format) |
DelimitedFileWriter(Writer out) |
DelimitedFileWriter(Writer out,
DelimitedFileFormat format) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class classObject) |
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
int |
getSupportedDataFeatures() |
void |
setWriter(OutputStream writer) |
void |
setWriter(Writer writer) |
String |
toString() |
void |
write(org.openscience.cdk.interfaces.IChemObject object) |
protected void |
writeHeader() |
void |
writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
writeSetOfMolecules(org.openscience.cdk.interfaces.IAtomContainerSet som) |
getHeader, isAddSMILEScolumn, setAddSMILEScolumn, setHeader, setHeader
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
protected BufferedWriter writer
protected DelimitedFileFormat format
protected org.openscience.cdk.smiles.SmilesGenerator sg
public DelimitedFileWriter(Writer out, DelimitedFileFormat format)
public DelimitedFileWriter(Writer out)
public DelimitedFileWriter(OutputStream input, DelimitedFileFormat format)
public DelimitedFileWriter(OutputStream input)
public void write(org.openscience.cdk.interfaces.IChemObject object) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
public void close() throws IOException
IOException
public void writeSetOfMolecules(org.openscience.cdk.interfaces.IAtomContainerSet som)
protected void writeHeader() throws IOException
writeHeader
in class FilesWithHeaderWriter
IOException
public void writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
public boolean accepts(Class classObject)
public int getSupportedDataFeatures()
public void setWriter(OutputStream writer) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setWriter(Writer writer) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.