ambit2.core.io
Class RawIteratingWrapper<R extends org.openscience.cdk.io.iterator.IIteratingChemObjectReader>
java.lang.Object
ambit2.core.io.RawIteratingWrapper<R>
- All Implemented Interfaces:
- IRawReader<ambit2.base.interfaces.IStructureRecord>, java.util.Iterator, org.openscience.cdk.io.IChemObjectIO, org.openscience.cdk.io.iterator.IIteratingChemObjectReader
public class RawIteratingWrapper<R extends org.openscience.cdk.io.iterator.IIteratingChemObjectReader>
- extends java.lang.Object
- implements IRawReader<ambit2.base.interfaces.IStructureRecord>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected R extends org.openscience.cdk.io.iterator.IIteratingChemObjectReader reader
writer
protected MoleculeWriter writer
reference
protected ambit2.base.data.LiteratureEntry reference
r
protected final ambit2.base.data.StructureRecord r
RawIteratingWrapper
public RawIteratingWrapper(R reader)
getReference
public ambit2.base.data.LiteratureEntry getReference()
setReference
public void setReference(ambit2.base.data.LiteratureEntry reference)
nextRecord
public ambit2.base.interfaces.IStructureRecord nextRecord()
- Specified by:
nextRecord
in interface IRawReader<ambit2.base.interfaces.IStructureRecord>
accepts
public boolean accepts(java.lang.Class arg0)
- Specified by:
accepts
in interface org.openscience.cdk.io.IChemObjectIO
addChemObjectIOListener
public void addChemObjectIOListener(org.openscience.cdk.io.listener.IChemObjectIOListener arg0)
- Specified by:
addChemObjectIOListener
in interface org.openscience.cdk.io.IChemObjectIO
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface org.openscience.cdk.io.IChemObjectIO
- Throws:
java.io.IOException
getFormat
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
- Specified by:
getFormat
in interface org.openscience.cdk.io.IChemObjectIO
getIOSettings
public org.openscience.cdk.io.setting.IOSetting[] getIOSettings()
- Specified by:
getIOSettings
in interface org.openscience.cdk.io.IChemObjectIO
removeChemObjectIOListener
public void removeChemObjectIOListener(org.openscience.cdk.io.listener.IChemObjectIOListener arg0)
- Specified by:
removeChemObjectIOListener
in interface org.openscience.cdk.io.IChemObjectIO
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator