public class PoiSxssfProvider extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ExcelFieldMetadata |
fieldMetadata |
protected static int |
JAN_1_1970 |
protected Sheet |
sheet |
protected Workbook |
workbook |
| Constructor and Description |
|---|
PoiSxssfProvider() |
| Modifier and Type | Method and Description |
|---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this object's current state to a
DataException. |
void |
close() |
void |
endReading() |
protected void |
endReadingImpl() |
void |
endRecord(Record record,
int currentRowIndex) |
void |
endWriting() |
protected void |
endWritingImpl() |
protected HyperlinkType |
fromExcelHyperlinkType(ExcelHyperlinkType type) |
int |
getCellCount(int rowIndex) |
protected ExcelColor |
getDefaultFontColor()
Returns default font color for XLSX file type.
|
protected ExcelReader |
getExcelReader() |
protected ExcelWriter |
getExcelWriter() |
int |
getLastColumnIndex() |
int |
getLastRowIndex() |
protected SXSSFSheet |
getSheet() |
String[] |
getSheetNames() |
protected SXSSFWorkbook |
getWorkbook() |
protected void |
init() |
void |
initStyles() |
boolean |
isCellStyleSupported() |
boolean |
isDataFormatSupported() |
boolean |
isEvaluateExpressions() |
boolean |
isFreezePaneSupported() |
boolean |
isHyperlinkSupported() |
void |
newWorkbook() |
void |
openWorkbook(File file) |
void |
openWorkbook(InputStream inputStream) |
protected ExcelColor |
readBackgroundColor(CellStyle style) |
protected void |
readExcelHyperlink(Cell cell,
Field field) |
protected void |
readExcelStyle(Workbook workbook,
Cell cell,
Field field) |
void |
readField(int rowIndex,
int fieldIndex,
Field field) |
protected ExcelColor |
readFontColor(Font font) |
void |
saveWorkbook(File file) |
void |
saveWorkbook(OutputStream outputStream) |
void |
setAutoFilter(int firstRow,
int firstColumn) |
void |
setAutofitColumns(int firstColumnIndex,
int[] columnCharacterCount) |
com.northconcepts.datapipeline.excel.Provider |
setEvaluateExpressions(boolean evaluateExpressions) |
protected void |
setExcelReader(ExcelReader excelReader) |
protected void |
setExcelWriter(ExcelWriter excelWriter) |
protected void |
setFreezePane() |
protected void |
setFreezePaneImpl(int columns,
int rows) |
void |
startReading(int sheetIndex) |
void |
startReading(String sheetName) |
protected void |
startReadingImpl(int sheetIndex) |
protected void |
startReadingImpl(String sheetName) |
void |
startRecord(Record record,
int currentRowIndex) |
void |
startWriting(String sheetName,
int sheetIndex) |
protected void |
startWritingImpl(String sheetName,
int sheetIndex) |
protected ExcelHyperlinkType |
toExcelHyperlinkType(HyperlinkType type) |
protected void |
writeCellStyle(Workbook workbook,
DataFormat format,
Cell cell,
Field field) |
void |
writeField(int rowIndex,
int columnIndex,
int recordndex,
int fieldIndex,
Field field) |
protected void |
writeHyperlink(CreationHelper helper,
Cell cell,
Field field) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionprotected static final int JAN_1_1970
protected Workbook workbook
protected Sheet sheet
protected ExcelFieldMetadata fieldMetadata
protected SXSSFWorkbook getWorkbook()
protected SXSSFSheet getSheet()
public void newWorkbook()
public void saveWorkbook(OutputStream outputStream)
protected void startWritingImpl(String sheetName, int sheetIndex)
protected void init()
public void setAutoFilter(int firstRow,
int firstColumn)
public void close()
public boolean isFreezePaneSupported()
public boolean isHyperlinkSupported()
public boolean isCellStyleSupported()
public void openWorkbook(InputStream inputStream)
protected void startReadingImpl(String sheetName)
protected void startReadingImpl(int sheetIndex)
public void readField(int rowIndex,
int fieldIndex,
Field field)
protected void endReadingImpl()
protected void setFreezePaneImpl(int columns,
int rows)
public void writeField(int rowIndex,
int columnIndex,
int recordndex,
int fieldIndex,
Field field)
public void setAutofitColumns(int firstColumnIndex,
int[] columnCharacterCount)
protected void endWritingImpl()
public int getCellCount(int rowIndex)
public int getLastRowIndex()
public int getLastColumnIndex()
public String[] getSheetNames()
protected void readExcelHyperlink(Cell cell,
Field field)
protected void readExcelStyle(Workbook workbook,
Cell cell,
Field field)
protected ExcelColor getDefaultFontColor()
protected ExcelColor readFontColor(Font font)
protected ExcelColor readBackgroundColor(CellStyle style)
protected void writeHyperlink(CreationHelper helper,
Cell cell,
Field field)
protected ExcelHyperlinkType toExcelHyperlinkType(HyperlinkType type)
protected HyperlinkType fromExcelHyperlinkType(ExcelHyperlinkType type)
protected void writeCellStyle(Workbook workbook,
DataFormat format,
Cell cell,
Field field)
public DataException addExceptionProperties(DataException exception)
DataExceptionContributorDataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties in interface DataExceptionContributorpublic boolean isEvaluateExpressions()
public com.northconcepts.datapipeline.excel.Provider setEvaluateExpressions(boolean evaluateExpressions)
public final void startReading(String sheetName)
public final void startReading(int sheetIndex)
public final void endReading()
public final void startWriting(String sheetName, int sheetIndex)
public final void endWriting()
protected void setFreezePane()
public void startRecord(Record record, int currentRowIndex)
public void endRecord(Record record, int currentRowIndex)
public boolean isDataFormatSupported()
protected void setExcelReader(ExcelReader excelReader)
protected ExcelReader getExcelReader()
protected void setExcelWriter(ExcelWriter excelWriter)
protected ExcelWriter getExcelWriter()
public void initStyles()
Copyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.