ambit2.core.io.bcf
Class EurasBCFReader

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

public class EurasBCFReader
extends IteratingXLSReader


Field Summary
protected  java.util.Hashtable<java.lang.Double,ambit2.base.data.LiteratureEntry> references
           
 
Fields inherited from class ambit2.core.io.IteratingXLSReader
input, iterator, sheet, workbook
 
Fields inherited from class ambit2.core.io.IteratingFilesWithHeaderReader
defaultSMILESHeader, logger, numberOfHeaderLines, smilesIndex, sp, timeout
 
Constructor Summary
EurasBCFReader(java.io.InputStream input, int sheetIndex)
           
 
Method Summary
protected  java.lang.String getAuthor(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  ambit2.base.data.LiteratureEntry getCitation(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  java.lang.String getIssue(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  java.lang.String getJournal(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  java.lang.String getPages(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  java.lang.String getTitle(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  int getVolume(org.apache.poi.hssf.usermodel.HSSFRow row)
           
protected  int getYear(org.apache.poi.hssf.usermodel.HSSFRow row)
           
 void processHeader()
           
protected  void processRow(org.openscience.cdk.interfaces.IAtomContainer mol)
           
protected  void readReferences()
           
 
Methods inherited from class ambit2.core.io.IteratingXLSReader
close, getFormat, getReference, hasNext, next, processHeader, toString
 
Methods inherited from class ambit2.core.io.IteratingFilesWithHeaderReader
addHeaderColumn, getHeaderColumn, getNumberOfColumns, getNumberOfHeaderLines, getTimeout, isHeaderEmpty, setHeaderColumn, setNumberOfHeaderLines, setTimeout
 
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
 

Field Detail

references

protected java.util.Hashtable<java.lang.Double,ambit2.base.data.LiteratureEntry> references
Constructor Detail

EurasBCFReader

public EurasBCFReader(java.io.InputStream input,
                      int sheetIndex)
               throws ambit2.base.exceptions.AmbitIOException
Throws:
ambit2.base.exceptions.AmbitIOException
Method Detail

readReferences

protected void readReferences()

getCitation

protected ambit2.base.data.LiteratureEntry getCitation(org.apache.poi.hssf.usermodel.HSSFRow row)

getAuthor

protected java.lang.String getAuthor(org.apache.poi.hssf.usermodel.HSSFRow row)

getTitle

protected java.lang.String getTitle(org.apache.poi.hssf.usermodel.HSSFRow row)

getJournal

protected java.lang.String getJournal(org.apache.poi.hssf.usermodel.HSSFRow row)

getYear

protected int getYear(org.apache.poi.hssf.usermodel.HSSFRow row)

getVolume

protected int getVolume(org.apache.poi.hssf.usermodel.HSSFRow row)

getIssue

protected java.lang.String getIssue(org.apache.poi.hssf.usermodel.HSSFRow row)

getPages

protected java.lang.String getPages(org.apache.poi.hssf.usermodel.HSSFRow row)

processHeader

public void processHeader()
Overrides:
processHeader in class IteratingXLSReader

processRow

protected void processRow(org.openscience.cdk.interfaces.IAtomContainer mol)
Overrides:
processRow in class IteratingXLSReader