org.pentaho.di.trans.steps.excelinput.poi
Class PoiCell
java.lang.Object
  
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)
 
            | 
 
 
 
PoiCell
public PoiCell(org.apache.poi.ss.usermodel.Cell 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.