ambit2.core.io
Class RawIteratingSDFReader

Package class diagram package RawIteratingSDFReader
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.RawIteratingSDFReader
All Implemented Interfaces:
IRawReader<ambit2.base.interfaces.IStructureRecord>, java.util.Iterator, org.openscience.cdk.io.IChemObjectIO, org.openscience.cdk.io.iterator.IIteratingChemObjectReader

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


Field Summary
static java.lang.String delimiter
           
protected  ambit2.base.data.StructureRecord r
           
 
Fields inherited from class ambit2.core.io.RawIteratingReader
logger, recordBuffer, reference
 
Constructor Summary
RawIteratingSDFReader(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

delimiter

public static final java.lang.String delimiter
See Also:
Constant Field Values

r

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

RawIteratingSDFReader

public RawIteratingSDFReader(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>