public class StaxPoiSheet extends Object implements org.pentaho.di.core.spreadsheet.KSheet
Constructor and Description |
---|
StaxPoiSheet(org.apache.poi.xssf.eventusermodel.XSSFReader reader,
String sheetName,
String sheetID) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.pentaho.di.core.spreadsheet.KCell |
getCell(int colnr,
int rownr) |
String |
getName() |
org.pentaho.di.core.spreadsheet.KCell[] |
getRow(int rownr) |
int |
getRows() |
public StaxPoiSheet(org.apache.poi.xssf.eventusermodel.XSSFReader reader, String sheetName, String sheetID) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, IOException, XMLStreamException
org.apache.poi.openxml4j.exceptions.InvalidFormatException
IOException
XMLStreamException
public org.pentaho.di.core.spreadsheet.KCell[] getRow(int rownr)
getRow
in interface org.pentaho.di.core.spreadsheet.KSheet
public String getName()
getName
in interface org.pentaho.di.core.spreadsheet.KSheet
public int getRows()
getRows
in interface org.pentaho.di.core.spreadsheet.KSheet
public org.pentaho.di.core.spreadsheet.KCell getCell(int colnr, int rownr)
getCell
in interface org.pentaho.di.core.spreadsheet.KSheet
public void close() throws IOException, XMLStreamException
IOException
XMLStreamException