Class XLSWorkbook
- java.lang.Object
-
- org.pentaho.di.trans.steps.excelinput.jxl.XLSWorkbook
-
- All Implemented Interfaces:
AutoCloseable,org.pentaho.di.core.spreadsheet.KWorkbook
public class XLSWorkbook extends Object implements org.pentaho.di.core.spreadsheet.KWorkbook
-
-
Constructor Summary
Constructors Constructor Description XLSWorkbook(InputStream inputStream, String encoding)XLSWorkbook(String filename, String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetEncoding()StringgetFilename()intgetNumberOfSheets()org.pentaho.di.core.spreadsheet.KSheetgetSheet(int sheetNr)org.pentaho.di.core.spreadsheet.KSheetgetSheet(String sheetName)StringgetSheetName(int sheetNr)String[]getSheetNames()
-
-
-
Constructor Detail
-
XLSWorkbook
public XLSWorkbook(String filename, String encoding) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
XLSWorkbook
public XLSWorkbook(InputStream inputStream, String encoding) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.pentaho.di.core.spreadsheet.KWorkbook
-
getSheet
public org.pentaho.di.core.spreadsheet.KSheet getSheet(String sheetName)
- Specified by:
getSheetin interfaceorg.pentaho.di.core.spreadsheet.KWorkbook
-
getSheetNames
public String[] getSheetNames()
- Specified by:
getSheetNamesin interfaceorg.pentaho.di.core.spreadsheet.KWorkbook
-
getFilename
public String getFilename()
-
getEncoding
public String getEncoding()
-
getNumberOfSheets
public int getNumberOfSheets()
- Specified by:
getNumberOfSheetsin interfaceorg.pentaho.di.core.spreadsheet.KWorkbook
-
getSheet
public org.pentaho.di.core.spreadsheet.KSheet getSheet(int sheetNr)
- Specified by:
getSheetin interfaceorg.pentaho.di.core.spreadsheet.KWorkbook
-
getSheetName
public String getSheetName(int sheetNr)
- Specified by:
getSheetNamein interfaceorg.pentaho.di.core.spreadsheet.KWorkbook
-
-