org.pentaho.di.trans.steps.excelinput.jxl
Class XLSCell

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

public class XLSCell
extends Object
implements KCell


Constructor Summary
XLSCell(jxl.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

XLSCell

public XLSCell(jxl.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.