public class IteratingXLSReader extends IteratingFilesWithHeaderReader<Property>
Modifier and Type | Field and Description |
---|---|
protected boolean |
hssf |
protected InputStream |
input |
protected Iterator |
iterator |
protected org.apache.poi.ss.usermodel.Sheet |
sheet |
protected int |
sheetIndex |
protected org.apache.poi.ss.usermodel.Workbook |
workbook |
defaultSMILESHeader, header, inchiFactory, inchiIndex, logger, numberOfHeaderLines, optionalSMILESHeader, smilesIndex, sp, timeout
Constructor and Description |
---|
IteratingXLSReader(InputStream input,
int sheetIndex) |
IteratingXLSReader(InputStream input,
Integer sheetIndex,
Boolean hssf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected ArrayList<Property> |
createHeader() |
protected Property |
createPropertyByColumnName(String name) |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
protected LiteratureEntry |
getReference() |
boolean |
hasNext() |
Object |
next() |
void |
processHeader() |
protected void |
processHeader(org.apache.poi.ss.usermodel.Row row) |
protected void |
processRow(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setReader(InputStream input) |
void |
setReader(Reader reader) |
String |
toString() |
addHeaderColumn, getHeaderColumn, getNumberOfColumns, getNumberOfHeaderLines, getOptionalSMILESHeader, getTimeout, isHeaderEmpty, setHeaderColumn, setNumberOfHeaderLines, setOptionalSMILESHeader, setTimeout, updateHeaderColumn
accepts, handleError, handleError, handleError, handleError, remove, setErrorHandler, setReaderMode
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
forEachRemaining
protected org.apache.poi.ss.usermodel.Workbook workbook
protected org.apache.poi.ss.usermodel.Sheet sheet
protected Iterator iterator
protected InputStream input
protected int sheetIndex
protected boolean hssf
public IteratingXLSReader(InputStream input, int sheetIndex) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public IteratingXLSReader(InputStream input, Integer sheetIndex, Boolean hssf) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
protected ArrayList<Property> createHeader()
createHeader
in class IteratingFilesWithHeaderReader<Property>
protected Property createPropertyByColumnName(String name)
createPropertyByColumnName
in class IteratingFilesWithHeaderReader<Property>
public void setReader(InputStream input) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setReader(Reader reader) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
protected LiteratureEntry getReference()
getReference
in class IteratingFilesWithHeaderReader<Property>
public void processHeader()
public void close() throws IOException
IOException
public boolean hasNext()
protected void processRow(org.openscience.cdk.interfaces.IAtomContainer mol)
public Object next()
protected void processHeader(org.apache.poi.ss.usermodel.Row row)
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.