ambit2.core.io
Class RawIteratingFolderReader

Package class diagram package RawIteratingFolderReader
java.lang.Object
  extended by org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
      extended by ambit2.core.io.IteratingFolderReader<ambit2.base.interfaces.IStructureRecord,IRawReader<ambit2.base.interfaces.IStructureRecord>>
          extended by ambit2.core.io.RawIteratingFolderReader
All Implemented Interfaces:
IRawReader<ambit2.base.interfaces.IStructureRecord>, java.util.Iterator, org.openscience.cdk.io.IChemObjectIO, org.openscience.cdk.io.iterator.IIteratingChemObjectReader

public class RawIteratingFolderReader
extends IteratingFolderReader<ambit2.base.interfaces.IStructureRecord,IRawReader<ambit2.base.interfaces.IStructureRecord>>
implements IRawReader<ambit2.base.interfaces.IStructureRecord>


Field Summary
protected  ambit2.base.processors.CASProcessor casTransformer
           
 
Fields inherited from class ambit2.core.io.IteratingFolderReader
files, index, reader
 
Constructor Summary
RawIteratingFolderReader(java.io.File[] files)
           
 
Method Summary
protected  void assignCASRN(ambit2.base.interfaces.IStructureRecord record)
           
protected  IRawReader<ambit2.base.interfaces.IStructureRecord> getItemReader(int index)
           
 java.lang.Object next()
           
 ambit2.base.interfaces.IStructureRecord nextRecord()
           
 
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
 
Methods inherited from interface org.openscience.cdk.io.IChemObjectIO
accepts, addChemObjectIOListener, close, getFormat, getIOSettings, removeChemObjectIOListener
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 

Field Detail

casTransformer

protected ambit2.base.processors.CASProcessor casTransformer
Constructor Detail

RawIteratingFolderReader

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

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
Overrides:
next in class IteratingFolderReader<ambit2.base.interfaces.IStructureRecord,IRawReader<ambit2.base.interfaces.IStructureRecord>>

nextRecord

public ambit2.base.interfaces.IStructureRecord nextRecord()
Specified by:
nextRecord in interface IRawReader<ambit2.base.interfaces.IStructureRecord>

assignCASRN

protected void assignCASRN(ambit2.base.interfaces.IStructureRecord record)

getItemReader

protected IRawReader<ambit2.base.interfaces.IStructureRecord> getItemReader(int index)
                                                                     throws java.lang.Exception
Specified by:
getItemReader in class IteratingFolderReader<ambit2.base.interfaces.IStructureRecord,IRawReader<ambit2.base.interfaces.IStructureRecord>>
Throws:
java.lang.Exception