ambit2.core.io
Class IteratingMolFolderReader
java.lang.Object
org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
ambit2.core.io.IteratingFolderReader<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.io.iterator.IIteratingChemObjectReader>
ambit2.core.io.IteratingMolFolderReader
- All Implemented Interfaces:
- java.util.Iterator, org.openscience.cdk.io.IChemObjectIO, org.openscience.cdk.io.iterator.IIteratingChemObjectReader
public class IteratingMolFolderReader
- extends IteratingFolderReader<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.io.iterator.IIteratingChemObjectReader>
Method Summary |
protected org.openscience.cdk.io.iterator.IIteratingChemObjectReader |
getItemReader(int index)
|
java.lang.Object |
next()
|
Methods inherited from class org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader |
accepts, addChemObjectIOListener, fireFrameRead, fireIOSettingQuestion, getIOSettings, remove, removeChemObjectIOListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IteratingMolFolderReader
public IteratingMolFolderReader()
IteratingMolFolderReader
public IteratingMolFolderReader(java.io.File[] files)
getItemReader
protected org.openscience.cdk.io.iterator.IIteratingChemObjectReader getItemReader(int index)
throws java.lang.Exception
- Specified by:
getItemReader
in class IteratingFolderReader<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.io.iterator.IIteratingChemObjectReader>
- Throws:
java.lang.Exception
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Overrides:
next
in class IteratingFolderReader<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.io.iterator.IIteratingChemObjectReader>