public class IteratingChemObjectReaderWrapper
extends org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
DefaultChemObjectReader
.
Mostly for keeping track of file name and presenting it to the user :)Modifier and Type | Field and Description |
---|---|
protected org.openscience.cdk.interfaces.IAtomContainerSet |
atomContainers |
protected org.openscience.cdk.interfaces.IChemObject |
chemObject |
protected org.openscience.cdk.io.formats.IResourceFormat |
format |
protected int |
record |
Constructor and Description |
---|
IteratingChemObjectReaderWrapper(org.openscience.cdk.io.DefaultChemObjectReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
boolean |
hasNext() |
Object |
next() |
void |
setReader(InputStream reader) |
void |
setReader(Reader reader) |
String |
toString() |
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.openscience.cdk.interfaces.IChemObject chemObject
protected org.openscience.cdk.io.formats.IResourceFormat format
protected org.openscience.cdk.interfaces.IAtomContainerSet atomContainers
protected int record
public IteratingChemObjectReaderWrapper(org.openscience.cdk.io.DefaultChemObjectReader reader)
public void setReader(InputStream reader) 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
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
public void close() throws IOException
IOException
public boolean hasNext()
public Object next()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.