码迷,mamicode.com
首页 > 编程语言 > 详细

Java-API-POI-Excel:SXSSFWorkbook Documentation

时间:2019-03-18 11:47:52      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:apt   tom   owa   usermod   float   line   custom   most   ack   

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

标签:apt   tom   owa   usermod   float   line   custom   most   ack   

原文地址:https://www.cnblogs.com/storebook/p/10551076.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!