ambit2.core.io
Class RawIteratingFolderReader
java.lang.Object
org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
ambit2.core.io.IteratingFolderReader<ambit2.base.interfaces.IStructureRecord,IRawReader<ambit2.base.interfaces.IStructureRecord>>
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
|
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 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 |
casTransformer
protected ambit2.base.processors.CASProcessor casTransformer
RawIteratingFolderReader
public RawIteratingFolderReader(java.io.File[] files)
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