org.pentaho.di.trans.steps.excelinput.ods
Class OdfCell
java.lang.Object
org.pentaho.di.trans.steps.excelinput.ods.OdfCell
- All Implemented Interfaces:
- KCell
public class OdfCell
- extends Object
- implements KCell
Constructor Summary |
OdfCell(org.odftoolkit.odfdom.doc.table.OdfTableCell cell)
|
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
OdfCell
public OdfCell(org.odftoolkit.odfdom.doc.table.OdfTableCell cell)
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.