Package com.github.pjfanning.xlsx.impl
Class StreamingWorkbook
- java.lang.Object
-
- com.github.pjfanning.xlsx.impl.StreamingWorkbook
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<org.apache.poi.ss.usermodel.Sheet>,org.apache.poi.ss.usermodel.Workbook
public class StreamingWorkbook extends Object implements org.apache.poi.ss.usermodel.Workbook, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description StreamingWorkbook(StreamingWorkbookReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddOlePackage(byte[] bytes, String s, String s1, String s2)Not supportedintaddPicture(byte[] pictureData, int format)Not supportedvoidaddToolPack(org.apache.poi.ss.formula.udf.UDFFinder toopack)Not supportedorg.apache.poi.ss.usermodel.SheetcloneSheet(int sheetNum)Not supportedvoidclose()org.apache.poi.ss.usermodel.CellStylecreateCellStyle()Not supportedorg.apache.poi.ss.usermodel.DataFormatcreateDataFormat()Not supportedorg.apache.poi.ss.usermodel.FontcreateFont()Not supportedorg.apache.poi.ss.usermodel.NamecreateName()Not supportedorg.apache.poi.ss.usermodel.SheetcreateSheet()Not supportedorg.apache.poi.ss.usermodel.SheetcreateSheet(String sheetname)Not supportedorg.apache.poi.ss.usermodel.FontfindFont(boolean b, short i, short i1, String s, boolean b1, boolean b2, short i2, byte b3)Not supportedintgetActiveSheetIndex()Not supportedList<? extends org.apache.poi.ss.usermodel.Name>getAllNames()Not supportedList<? extends org.apache.poi.ss.usermodel.PictureData>getAllPictures()Not supportedorg.apache.poi.ss.usermodel.CellStylegetCellStyleAt(int i)Not supportedorg.apache.poi.ss.usermodel.CreationHelpergetCreationHelper()Not supportedintgetFirstVisibleTab()Not supportedorg.apache.poi.ss.usermodel.FontgetFontAt(int i)Not supportedorg.apache.poi.ss.usermodel.FontgetFontAt(short idx)Not supportedbooleangetForceFormulaRecalculation()Not supportedorg.apache.poi.ss.usermodel.Row.MissingCellPolicygetMissingCellPolicy()Not supportedorg.apache.poi.ss.usermodel.NamegetName(String name)Not supportedorg.apache.poi.ss.usermodel.NamegetNameAt(int nameIndex)Not supportedintgetNameIndex(String name)Not supportedList<? extends org.apache.poi.ss.usermodel.Name>getNames(String s)Not supportedshortgetNumberOfFonts()Not supportedintgetNumberOfFontsAsInt()Not supportedintgetNumberOfNames()Not supportedintgetNumberOfSheets()intgetNumCellStyles()Not supportedStringgetPrintArea(int sheetIndex)Not supportedorg.apache.poi.ss.usermodel.SheetgetSheet(String name)org.apache.poi.ss.usermodel.SheetgetSheetAt(int index)intgetSheetIndex(String name)intgetSheetIndex(org.apache.poi.ss.usermodel.Sheet sheet)StringgetSheetName(int sheet)org.apache.poi.ss.usermodel.SheetVisibilitygetSheetVisibility(int i)Not supportedorg.apache.poi.ss.SpreadsheetVersiongetSpreadsheetVersion()Not supportedbooleanisHidden()Not supportedbooleanisSheetHidden(int sheetIx)booleanisSheetVeryHidden(int sheetIx)Iterator<org.apache.poi.ss.usermodel.Sheet>iterator()intlinkExternalWorkbook(String name, org.apache.poi.ss.usermodel.Workbook workbook)Not supportedvoidremoveName(int index)Not supportedvoidremoveName(String name)Not supportedvoidremoveName(org.apache.poi.ss.usermodel.Name name)Not supportedvoidremovePrintArea(int sheetIndex)Not supportedvoidremoveSheetAt(int index)Not supportedvoidsetActiveSheet(int sheetIndex)Not supportedvoidsetFirstVisibleTab(int sheetIndex)Not supportedvoidsetForceFormulaRecalculation(boolean value)Not supportedvoidsetHidden(boolean hiddenFlag)Not supportedvoidsetMissingCellPolicy(org.apache.poi.ss.usermodel.Row.MissingCellPolicy missingCellPolicy)Not supportedvoidsetPrintArea(int sheetIndex, int startColumn, int endColumn, int startRow, int endRow)Not supportedvoidsetPrintArea(int sheetIndex, String reference)Not supportedvoidsetSelectedTab(int index)Not supportedvoidsetSheetHidden(int sheetIx, boolean hidden)Not supportedvoidsetSheetName(int sheet, String name)Not supportedvoidsetSheetOrder(String sheetname, int pos)Not supportedvoidsetSheetVisibility(int i, org.apache.poi.ss.usermodel.SheetVisibility sheetVisibility)Not supportedIterator<org.apache.poi.ss.usermodel.Sheet>sheetIterator()voidwrite(OutputStream stream)Not supported-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
StreamingWorkbook
public StreamingWorkbook(StreamingWorkbookReader reader)
-
-
Method Detail
-
iterator
public Iterator<org.apache.poi.ss.usermodel.Sheet> iterator()
-
sheetIterator
public Iterator<org.apache.poi.ss.usermodel.Sheet> sheetIterator()
- Specified by:
sheetIteratorin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSheetName
public String getSheetName(int sheet)
- Specified by:
getSheetNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSheetIndex
public int getSheetIndex(String name)
- Specified by:
getSheetIndexin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSheetIndex
public int getSheetIndex(org.apache.poi.ss.usermodel.Sheet sheet)
- Specified by:
getSheetIndexin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNumberOfSheets
public int getNumberOfSheets()
- Specified by:
getNumberOfSheetsin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSheetAt
public org.apache.poi.ss.usermodel.Sheet getSheetAt(int index)
- Specified by:
getSheetAtin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSheet
public org.apache.poi.ss.usermodel.Sheet getSheet(String name)
- Specified by:
getSheetin interfaceorg.apache.poi.ss.usermodel.Workbook
-
isSheetHidden
public boolean isSheetHidden(int sheetIx)
- Specified by:
isSheetHiddenin interfaceorg.apache.poi.ss.usermodel.Workbook
-
isSheetVeryHidden
public boolean isSheetVeryHidden(int sheetIx)
- Specified by:
isSheetVeryHiddenin interfaceorg.apache.poi.ss.usermodel.Workbook
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.poi.ss.usermodel.Workbook- Throws:
IOException
-
getActiveSheetIndex
public int getActiveSheetIndex()
Not supported- Specified by:
getActiveSheetIndexin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setActiveSheet
public void setActiveSheet(int sheetIndex)
Not supported- Specified by:
setActiveSheetin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getFirstVisibleTab
public int getFirstVisibleTab()
Not supported- Specified by:
getFirstVisibleTabin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setFirstVisibleTab
public void setFirstVisibleTab(int sheetIndex)
Not supported- Specified by:
setFirstVisibleTabin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setSheetOrder
public void setSheetOrder(String sheetname, int pos)
Not supported- Specified by:
setSheetOrderin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setSelectedTab
public void setSelectedTab(int index)
Not supported- Specified by:
setSelectedTabin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setSheetName
public void setSheetName(int sheet, String name)Not supported- Specified by:
setSheetNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
createSheet
public org.apache.poi.ss.usermodel.Sheet createSheet()
Not supported- Specified by:
createSheetin interfaceorg.apache.poi.ss.usermodel.Workbook
-
createSheet
public org.apache.poi.ss.usermodel.Sheet createSheet(String sheetname)
Not supported- Specified by:
createSheetin interfaceorg.apache.poi.ss.usermodel.Workbook
-
cloneSheet
public org.apache.poi.ss.usermodel.Sheet cloneSheet(int sheetNum)
Not supported- Specified by:
cloneSheetin interfaceorg.apache.poi.ss.usermodel.Workbook
-
removeSheetAt
public void removeSheetAt(int index)
Not supported- Specified by:
removeSheetAtin interfaceorg.apache.poi.ss.usermodel.Workbook
-
createFont
public org.apache.poi.ss.usermodel.Font createFont()
Not supported- Specified by:
createFontin interfaceorg.apache.poi.ss.usermodel.Workbook
-
findFont
public org.apache.poi.ss.usermodel.Font findFont(boolean b, short i, short i1, String s, boolean b1, boolean b2, short i2, byte b3)Not supported- Specified by:
findFontin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNumberOfFonts
public short getNumberOfFonts()
Not supported- Specified by:
getNumberOfFontsin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNumberOfFontsAsInt
public int getNumberOfFontsAsInt()
Not supported- Specified by:
getNumberOfFontsAsIntin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getFontAt
public org.apache.poi.ss.usermodel.Font getFontAt(short idx)
Not supported- Specified by:
getFontAtin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getFontAt
public org.apache.poi.ss.usermodel.Font getFontAt(int i)
Not supported- Specified by:
getFontAtin interfaceorg.apache.poi.ss.usermodel.Workbook
-
createCellStyle
public org.apache.poi.ss.usermodel.CellStyle createCellStyle()
Not supported- Specified by:
createCellStylein interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNumCellStyles
public int getNumCellStyles()
Not supported- Specified by:
getNumCellStylesin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getCellStyleAt
public org.apache.poi.ss.usermodel.CellStyle getCellStyleAt(int i)
Not supported- Specified by:
getCellStyleAtin interfaceorg.apache.poi.ss.usermodel.Workbook
-
write
public void write(OutputStream stream) throws IOException
Not supported- Specified by:
writein interfaceorg.apache.poi.ss.usermodel.Workbook- Throws:
IOException
-
getNumberOfNames
public int getNumberOfNames()
Not supported- Specified by:
getNumberOfNamesin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getName
public org.apache.poi.ss.usermodel.Name getName(String name)
Not supported- Specified by:
getNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNames
public List<? extends org.apache.poi.ss.usermodel.Name> getNames(String s)
Not supported- Specified by:
getNamesin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getAllNames
public List<? extends org.apache.poi.ss.usermodel.Name> getAllNames()
Not supported- Specified by:
getAllNamesin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNameAt
public org.apache.poi.ss.usermodel.Name getNameAt(int nameIndex)
Not supported- Specified by:
getNameAtin interfaceorg.apache.poi.ss.usermodel.Workbook
-
createName
public org.apache.poi.ss.usermodel.Name createName()
Not supported- Specified by:
createNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
getNameIndex
public int getNameIndex(String name)
Not supported- Specified by:
getNameIndexin interfaceorg.apache.poi.ss.usermodel.Workbook
-
removeName
public void removeName(int index)
Not supported- Specified by:
removeNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
removeName
public void removeName(String name)
Not supported- Specified by:
removeNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
removeName
public void removeName(org.apache.poi.ss.usermodel.Name name)
Not supported- Specified by:
removeNamein interfaceorg.apache.poi.ss.usermodel.Workbook
-
linkExternalWorkbook
public int linkExternalWorkbook(String name, org.apache.poi.ss.usermodel.Workbook workbook)
Not supported- Specified by:
linkExternalWorkbookin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setPrintArea
public void setPrintArea(int sheetIndex, String reference)Not supported- Specified by:
setPrintAreain interfaceorg.apache.poi.ss.usermodel.Workbook
-
setPrintArea
public void setPrintArea(int sheetIndex, int startColumn, int endColumn, int startRow, int endRow)Not supported- Specified by:
setPrintAreain interfaceorg.apache.poi.ss.usermodel.Workbook
-
getPrintArea
public String getPrintArea(int sheetIndex)
Not supported- Specified by:
getPrintAreain interfaceorg.apache.poi.ss.usermodel.Workbook
-
removePrintArea
public void removePrintArea(int sheetIndex)
Not supported- Specified by:
removePrintAreain interfaceorg.apache.poi.ss.usermodel.Workbook
-
getMissingCellPolicy
public org.apache.poi.ss.usermodel.Row.MissingCellPolicy getMissingCellPolicy()
Not supported- Specified by:
getMissingCellPolicyin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setMissingCellPolicy
public void setMissingCellPolicy(org.apache.poi.ss.usermodel.Row.MissingCellPolicy missingCellPolicy)
Not supported- Specified by:
setMissingCellPolicyin interfaceorg.apache.poi.ss.usermodel.Workbook
-
createDataFormat
public org.apache.poi.ss.usermodel.DataFormat createDataFormat()
Not supported- Specified by:
createDataFormatin interfaceorg.apache.poi.ss.usermodel.Workbook
-
addPicture
public int addPicture(byte[] pictureData, int format)Not supported- Specified by:
addPicturein interfaceorg.apache.poi.ss.usermodel.Workbook
-
getAllPictures
public List<? extends org.apache.poi.ss.usermodel.PictureData> getAllPictures()
Not supported- Specified by:
getAllPicturesin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getCreationHelper
public org.apache.poi.ss.usermodel.CreationHelper getCreationHelper()
Not supported- Specified by:
getCreationHelperin interfaceorg.apache.poi.ss.usermodel.Workbook
-
isHidden
public boolean isHidden()
Not supported- Specified by:
isHiddenin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setHidden
public void setHidden(boolean hiddenFlag)
Not supported- Specified by:
setHiddenin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setSheetHidden
public void setSheetHidden(int sheetIx, boolean hidden)Not supported- Specified by:
setSheetHiddenin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSheetVisibility
public org.apache.poi.ss.usermodel.SheetVisibility getSheetVisibility(int i)
Not supported- Specified by:
getSheetVisibilityin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setSheetVisibility
public void setSheetVisibility(int i, org.apache.poi.ss.usermodel.SheetVisibility sheetVisibility)Not supported- Specified by:
setSheetVisibilityin interfaceorg.apache.poi.ss.usermodel.Workbook
-
addToolPack
public void addToolPack(org.apache.poi.ss.formula.udf.UDFFinder toopack)
Not supported- Specified by:
addToolPackin interfaceorg.apache.poi.ss.usermodel.Workbook
-
setForceFormulaRecalculation
public void setForceFormulaRecalculation(boolean value)
Not supported- Specified by:
setForceFormulaRecalculationin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getForceFormulaRecalculation
public boolean getForceFormulaRecalculation()
Not supported- Specified by:
getForceFormulaRecalculationin interfaceorg.apache.poi.ss.usermodel.Workbook
-
getSpreadsheetVersion
public org.apache.poi.ss.SpreadsheetVersion getSpreadsheetVersion()
Not supported- Specified by:
getSpreadsheetVersionin interfaceorg.apache.poi.ss.usermodel.Workbook
-
addOlePackage
public int addOlePackage(byte[] bytes, String s, String s1, String s2) throws IOExceptionNot supported- Specified by:
addOlePackagein interfaceorg.apache.poi.ss.usermodel.Workbook- Throws:
IOException
-
-