ambit2.core.io
Class RawIteratingReader<T>
java.lang.Object
org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
ambit2.core.io.RawIteratingReader<T>
- All Implemented Interfaces:
- IRawReader<T>, java.util.Iterator, org.openscience.cdk.io.IChemObjectIO, org.openscience.cdk.io.iterator.IIteratingChemObjectReader
- Direct Known Subclasses:
- RawIteratingMOLReader, RawIteratingSDFReader
public abstract class RawIteratingReader<T>
- extends org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
- implements IRawReader<T>
Field Summary |
protected static ambit2.base.log.AmbitLogger |
logger
|
protected java.lang.StringBuffer |
recordBuffer
|
protected ambit2.base.data.LiteratureEntry |
reference
|
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 |
logger
protected static ambit2.base.log.AmbitLogger logger
recordBuffer
protected java.lang.StringBuffer recordBuffer
reference
protected ambit2.base.data.LiteratureEntry reference
RawIteratingReader
public RawIteratingReader(java.io.Reader in)
getReference
public ambit2.base.data.LiteratureEntry getReference()
setReference
public void setReference(ambit2.base.data.LiteratureEntry reference)
getFormat
public abstract org.openscience.cdk.io.formats.IResourceFormat getFormat()
- Specified by:
getFormat
in interface org.openscience.cdk.io.IChemObjectIO
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface org.openscience.cdk.io.IChemObjectIO
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
nextRecord
public abstract T nextRecord()
- Specified by:
nextRecord
in interface IRawReader<T>
isEndOfRecord
public abstract boolean isEndOfRecord(java.lang.String line)