@Beta public class DeferredSXSSFWorkbook extends SXSSFWorkbook
SXSSFWorkbook.ISheetInjector, SXSSFWorkbook.SheetIterator<T extends Sheet>
_sharedStringSource, _wb, DEFAULT_WINDOW_SIZE, zip64Mode
PICTURE_TYPE_DIB, PICTURE_TYPE_EMF, PICTURE_TYPE_JPEG, PICTURE_TYPE_PICT, PICTURE_TYPE_PNG, PICTURE_TYPE_WMF
Constructor and Description |
---|
DeferredSXSSFWorkbook() |
DeferredSXSSFWorkbook(int rowAccessWindowSize) |
DeferredSXSSFWorkbook(XSSFWorkbook workbook) |
DeferredSXSSFWorkbook(XSSFWorkbook workbook,
int rowAccessWindowSize) |
Modifier and Type | Method and Description |
---|---|
DeferredSXSSFSheet |
createSheet()
Create a Sheet for this Workbook, adds it to the sheets and returns
the high level representation.
|
DeferredSXSSFSheet |
createSheet(java.lang.String sheetname)
Create a Sheet for this Workbook, adds it to the sheets and returns
the high level representation.
|
protected SheetDataWriter |
createSheetDataWriter() |
protected StreamingSheetWriter |
createSheetDataWriter(java.io.OutputStream out) |
protected SXSSFWorkbook.ISheetInjector |
createSheetInjector(SXSSFSheet sxSheet) |
DeferredSXSSFSheet |
getStreamingSheet(java.lang.String name)
Gets sheet with the given name for streaming.
|
DeferredSXSSFSheet |
getStreamingSheetAt(int index)
Gets the sheet at the given index for streaming.
|
XSSFSheet |
getXSSFSheet(java.lang.String name) |
void |
removeSheetAt(int index)
Removes sheet at the given index
|
java.util.Iterator<Sheet> |
sheetIterator()
Returns an iterator of the sheets in the workbook in sheet order.
|
addOlePackage, addPicture, addToolPack, cloneSheet, close, createArchiveOutputStream, createCellStyle, createDataFormat, createEvaluationWorkbook, createFont, createName, dispose, findFont, flushSheets, getActiveSheetIndex, getAllNames, getAllPictures, getCellStyleAt, getCreationHelper, getFirstVisibleTab, getFontAt, getForceFormulaRecalculation, getMissingCellPolicy, getName, getNames, getNumberOfFonts, getNumberOfFontsAsInt, getNumberOfNames, getNumberOfSheets, getNumCellStyles, getPrintArea, getRandomAccessWindowSize, getSharedStringSource, getSheet, getSheetAt, getSheetFromZipEntryName, getSheetIndex, getSheetIndex, getSheetName, getSheetVisibility, getSpreadsheetVersion, getXSSFWorkbook, injectData, isCompressTempFiles, isDate1904, isHidden, isSheetHidden, isSheetVeryHidden, iterator, linkExternalWorkbook, removeName, removePrintArea, setActiveSheet, setCompressTempFiles, setFirstVisibleTab, setForceFormulaRecalculation, setHidden, setMissingCellPolicy, setPrintArea, setPrintArea, setRandomAccessWindowSize, setSelectedTab, setSheetHidden, setSheetName, setSheetOrder, setSheetVisibility, setZip64Mode, write
public DeferredSXSSFWorkbook()
public DeferredSXSSFWorkbook(int rowAccessWindowSize)
public DeferredSXSSFWorkbook(XSSFWorkbook workbook)
public DeferredSXSSFWorkbook(XSSFWorkbook workbook, int rowAccessWindowSize)
@NotImplemented protected SheetDataWriter createSheetDataWriter() throws java.io.IOException
createSheetDataWriter
in class SXSSFWorkbook
java.io.IOException
protected StreamingSheetWriter createSheetDataWriter(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
protected SXSSFWorkbook.ISheetInjector createSheetInjector(SXSSFSheet sxSheet) throws java.io.IOException
createSheetInjector
in class SXSSFWorkbook
java.io.IOException
public DeferredSXSSFSheet createSheet()
SXSSFWorkbook
createSheet
in interface Workbook
createSheet
in class SXSSFWorkbook
public DeferredSXSSFSheet createSheet(java.lang.String sheetname)
SXSSFWorkbook
createSheet
in interface Workbook
createSheet
in class SXSSFWorkbook
sheetname
- sheetname to set for the sheet.WorkbookUtil.createSafeSheetName(String nameProposal)
public java.util.Iterator<Sheet> sheetIterator()
sheetIterator
in interface Workbook
sheetIterator
in class SXSSFWorkbook
public DeferredSXSSFSheet getStreamingSheetAt(int index)
index
- the indexpublic XSSFSheet getXSSFSheet(java.lang.String name)
public DeferredSXSSFSheet getStreamingSheet(java.lang.String name)
name
- the namepublic void removeSheetAt(int index)
removeSheetAt
in interface Workbook
removeSheetAt
in class SXSSFWorkbook
index
- of the sheet to remove (0-based)Copyright 2021 The Apache Software Foundation or its licensors, as applicable.