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, setReaderModeaddChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerforEachRemainingprotected 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.CDKExceptionpublic void setReader(Reader reader) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic org.openscience.cdk.io.formats.IResourceFormat getFormat()
public void close()
throws IOException
IOExceptionpublic boolean hasNext()
public Object next()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.