ambit2.core.io
Class IteratingMolFolderReader

Package class diagram package IteratingMolFolderReader
java.lang.Object
  extended by org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
      extended by ambit2.core.io.IteratingFolderReader<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.io.iterator.IIteratingChemObjectReader>
          extended by 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>


Field Summary
 
Fields inherited from class ambit2.core.io.IteratingFolderReader
files, index, reader
 
Constructor Summary
IteratingMolFolderReader()
           
IteratingMolFolderReader(java.io.File[] files)
           
 
Method Summary
protected  org.openscience.cdk.io.iterator.IIteratingChemObjectReader getItemReader(int index)
           
 java.lang.Object next()
           
 
Methods inherited from class ambit2.core.io.IteratingFolderReader
close, closeItemReader, getFiles, getFormat, getNextReader, hasNext, setFiles, toString
 
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
 

Constructor Detail

IteratingMolFolderReader

public IteratingMolFolderReader()

IteratingMolFolderReader

public IteratingMolFolderReader(java.io.File[] files)
Method Detail

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>