org.pentaho.di.trans.steps.excelinput.ods
Class OdfCell

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

public class OdfCell
extends Object
implements KCell


Field Summary
static String TYPE_BOOLEAN
           
static String TYPE_CURRENCY
           
static String TYPE_DATE
           
static String TYPE_FLOAT
           
static String TYPE_PERCENTAGE
           
static String TYPE_STRING
           
static String TYPE_TIME
           
 
Constructor Summary
OdfCell(org.odftoolkit.odfdom.doc.table.OdfTableCell 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
 

Field Detail

TYPE_BOOLEAN

public static String TYPE_BOOLEAN

TYPE_CURRENCY

public static String TYPE_CURRENCY

TYPE_DATE

public static String TYPE_DATE

TYPE_FLOAT

public static String TYPE_FLOAT

TYPE_PERCENTAGE

public static String TYPE_PERCENTAGE

TYPE_STRING

public static String TYPE_STRING

TYPE_TIME

public static String TYPE_TIME
Constructor Detail

OdfCell

public OdfCell(org.odftoolkit.odfdom.doc.table.OdfTableCell 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.