org.pentaho.di.trans.steps.excelinput.poi
Class PoiCell

java.lang.Object
  extended by org.pentaho.di.trans.steps.excelinput.poi.PoiCell
All Implemented Interfaces:
KCell

public class PoiCell
extends Object
implements KCell


Constructor Summary
PoiCell(org.apache.poi.ss.usermodel.Cell cell)
           
 
Method Summary
 String getContents()
           
 int getRow()
           
 KCellType getType()
           
 Object getValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoiCell

public PoiCell(org.apache.poi.ss.usermodel.Cell cell)
Method Detail

getType

public KCellType getType()
Specified by:
getType in interface KCell

getValue

public Object getValue()
Specified by:
getValue in interface KCell
Returns:
java.util.Date for KCellType.DATE
Boolean for KCellType.BOOLEAN
Double for KCellType.NUMBER
String for KCellType.LABEL
null for KCellType.EMPTY

getContents

public String getContents()
Specified by:
getContents in interface KCell
Returns:
The content description of the cell

getRow

public int getRow()
Specified by:
getRow in interface KCell
Returns:
The row number in the sheet.