public class XLSFileWriter extends FileWithHeaderWriter
Modifier and Type | Field and Description |
---|---|
protected org.apache.poi.ss.usermodel.DataFormat |
dataformat |
protected OutputStream |
out |
protected org.apache.poi.ss.usermodel.Sheet |
sheet |
protected org.apache.poi.ss.usermodel.CellStyle |
style |
protected org.apache.poi.ss.usermodel.Workbook |
workbook |
protected boolean |
writingStarted |
defaultSMILESHeader, header, logger, sg, smilesIndex
Constructor and Description |
---|
XLSFileWriter(OutputStream out,
Boolean hssf) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class classObject) |
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
org.apache.poi.ss.usermodel.Sheet |
getSheet() |
void |
setSheet(org.apache.poi.ss.usermodel.Sheet sheet) |
void |
setWriter(OutputStream arg0) |
void |
setWriter(Writer arg0) |
String |
toString() |
void |
writeHeader() |
void |
writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
getHeader, setHeader, setHeader, write, writeSetOfMolecules
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
protected org.apache.poi.ss.usermodel.Workbook workbook
protected org.apache.poi.ss.usermodel.Sheet sheet
protected org.apache.poi.ss.usermodel.DataFormat dataformat
protected org.apache.poi.ss.usermodel.CellStyle style
protected OutputStream out
protected boolean writingStarted
public XLSFileWriter(OutputStream out, Boolean hssf) throws Exception
Exception
public org.apache.poi.ss.usermodel.Sheet getSheet()
public void setSheet(org.apache.poi.ss.usermodel.Sheet sheet)
public void writeHeader() throws IOException
writeHeader
in class FileWithHeaderWriter
IOException
public void writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
writeMolecule
in class FileWithHeaderWriter
public void setWriter(Writer arg0) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setWriter(OutputStream arg0) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
public boolean accepts(Class classObject)
public void close() throws IOException
IOException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.