Java-API-POI-Excel:SXSSFWorkbook Documentation

Posted storebook

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java-API-POI-Excel:SXSSFWorkbook Documentation相关的知识,希望对你有一定的参考价值。

ylbtech-Java-API-POI-Excel:SXSSFWorkbook Documentation

 

1.返回顶部
1、
org.apache.poi.xssf.streaming

Class SXSSFWorkbook

  • java.lang.Object
    • org.apache.poi.xssf.streaming.SXSSFWorkbook
  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<Sheet>, Workbook
    Direct Known Subclasses:
    SXSSFWorkbookWithCustomZipEntrySource


    public class SXSSFWorkbook
    extends java.lang.Object
    implements Workbook
    Streaming version of XSSFWorkbook implementing the "BigGridDemo" strategy. This allows to write very large files without running out of memory as only a configurable portion of the rows are kept in memory at any one time. You can provide a template workbook which is used as basis for the written data. See https://poi.apache.org/spreadsheet/how-to.html#sxssf for details. Please note that there are still things that still may consume a large amount of memory based on which features you are using, e.g. merged regions, comments, ... are still only stored in memory and thus may require a lot of memory if used extensively. SXSSFWorkbook defaults to using inline strings instead of a shared strings table. This is very efficient, since no document content needs to be kept in memory, but is also known to produce documents that are incompatible with some clients. With shared strings enabled all unique strings in the document has to be kept in memory. Depending on your document content this could use a lot more resources than with shared strings disabled. Carefully review your memory budget and compatibility needs before deciding whether to enable shared strings or not.
2、
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
1、
2、
 
6.返回顶部
 
技术图片 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

以上是关于Java-API-POI-Excel:SXSSFWorkbook Documentation的主要内容,如果未能解决你的问题,请参考以下文章

java导出网页中的表格为Excel