ambit2.core.io
Class IteratingFilesWithHeaderReader

Package class diagram package IteratingFilesWithHeaderReader
java.lang.Object
  extended by org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader
      extended by ambit2.core.io.IteratingFilesWithHeaderReader
All Implemented Interfaces:
java.util.Iterator, org.openscience.cdk.io.IChemObjectIO, org.openscience.cdk.io.iterator.IIteratingChemObjectReader
Direct Known Subclasses:
IteratingDelimitedFileReader, IteratingXLSReader

public abstract class IteratingFilesWithHeaderReader
extends org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader


Field Summary
static java.lang.String defaultSMILESHeader
           
protected static org.openscience.cdk.tools.LoggingTool logger
           
protected  int numberOfHeaderLines
           
protected  int smilesIndex
           
protected  SmilesParserWrapper sp
           
protected  long timeout
           
 
Constructor Summary
IteratingFilesWithHeaderReader()
           
 
Method Summary
protected  void addHeaderColumn(java.lang.String name)
           
protected  ambit2.base.data.Property getHeaderColumn(int index)
           
protected  int getNumberOfColumns()
           
 int getNumberOfHeaderLines()
           
protected abstract  ambit2.base.data.LiteratureEntry getReference()
           
 long getTimeout()
           
protected  boolean isHeaderEmpty()
           
protected  void setHeaderColumn(int index, java.lang.String name)
           
 void setNumberOfHeaderLines(int numberOfHeaderLines)
           
 void setTimeout(long timeout)
           
 
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
close, getFormat
 
Methods inherited from interface java.util.Iterator
hasNext, next
 

Field Detail

sp

protected SmilesParserWrapper sp

logger

protected static org.openscience.cdk.tools.LoggingTool logger

defaultSMILESHeader

public static java.lang.String defaultSMILESHeader

smilesIndex

protected int smilesIndex

timeout

protected long timeout

numberOfHeaderLines

protected int numberOfHeaderLines
Constructor Detail

IteratingFilesWithHeaderReader

public IteratingFilesWithHeaderReader()
Method Detail

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

getNumberOfHeaderLines

public int getNumberOfHeaderLines()

setNumberOfHeaderLines

public void setNumberOfHeaderLines(int numberOfHeaderLines)

getReference

protected abstract ambit2.base.data.LiteratureEntry getReference()

addHeaderColumn

protected void addHeaderColumn(java.lang.String name)

setHeaderColumn

protected void setHeaderColumn(int index,
                               java.lang.String name)

getHeaderColumn

protected ambit2.base.data.Property getHeaderColumn(int index)

getNumberOfColumns

protected int getNumberOfColumns()

isHeaderEmpty

protected boolean isHeaderEmpty()