ambit2.core.io
Class RawIteratingMOLReader

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

public class RawIteratingMOLReader
extends RawIteratingReader<ambit2.base.interfaces.IStructureRecord>


Field Summary
protected  ambit2.base.data.StructureRecord r
           
 
Fields inherited from class ambit2.core.io.RawIteratingReader
logger, recordBuffer, reference
 
Constructor Summary
RawIteratingMOLReader(java.io.Reader in)
           
 
Method Summary
 org.openscience.cdk.io.formats.IResourceFormat getFormat()
           
 boolean isEndOfRecord(java.lang.String line)
           
 java.lang.Object next()
           
 ambit2.base.interfaces.IStructureRecord nextRecord()
           
 
Methods inherited from class ambit2.core.io.RawIteratingReader
close, getReference, hasNext, setReference
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.openscience.cdk.io.IChemObjectIO
accepts, addChemObjectIOListener, getIOSettings, removeChemObjectIOListener
 
Methods inherited from interface java.util.Iterator
remove
 

Field Detail

r

protected final ambit2.base.data.StructureRecord r
Constructor Detail

RawIteratingMOLReader

public RawIteratingMOLReader(java.io.Reader in)
Method Detail

isEndOfRecord

public boolean isEndOfRecord(java.lang.String line)
Specified by:
isEndOfRecord in class RawIteratingReader<ambit2.base.interfaces.IStructureRecord>

getFormat

public org.openscience.cdk.io.formats.IResourceFormat getFormat()
Specified by:
getFormat in interface org.openscience.cdk.io.IChemObjectIO
Specified by:
getFormat in class RawIteratingReader<ambit2.base.interfaces.IStructureRecord>

nextRecord

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

next

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