ylbtech-Java-API-POI-Excel:HSSFWorkbook Documentation |
1.返回顶部 |
1、
org.apache.poi.hssf.usermodel
Class HSSFWorkbook
- java.lang.Object
-
- org.apache.poi.POIDocument
-
- org.apache.poi.hssf.usermodel.HSSFWorkbook
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<Sheet>, Workbook
public final class HSSFWorkbook extends POIDocument implements Workbook
High level representation of a workbook. This is the first object most users will construct whether they are reading or writing a workbook. It is also the top level object for creating new sheets/etc.- See Also:
InternalWorkbook
,HSSFSheet
-
-
Field Summary
Fields Modifier and Type Field and Description protected java.util.List<HSSFSheet>
_sheets
this holds the HSSFSheet objects attached to this workbookstatic int
INITIAL_CAPACITY
used for compile-time performance/memory optimization.-
Fields inherited from interface org.apache.poi.ss.usermodel.Workbook
PICTURE_TYPE_DIB, PICTURE_TYPE_EMF, PICTURE_TYPE_JPEG, PICTURE_TYPE_PICT, PICTURE_TYPE_PNG, PICTURE_TYPE_WMF
-
-
Constructor Summary
Constructors Constructor and Description HSSFWorkbook()
Creates new HSSFWorkbook from scratch (start here!)HSSFWorkbook(DirectoryNode directory, boolean preserveNodes)
given a POI POIFSFileSystem object, and a specific directory within it, read in its Workbook and populate the high and low level models.HSSFWorkbook(DirectoryNode directory, POIFSFileSystem fs, boolean preserveNodes)
given a POI POIFSFileSystem object, and a specific directory within it, read in its Workbook and populate the high and low level models.HSSFWorkbook(java.io.InputStream s)
Companion to HSSFWorkbook(POIFSFileSystem), this constructs the POI filesystem around yourInputStream
, including all nodes.HSSFWorkbook(java.io.InputStream s, boolean preserveNodes)
Companion to HSSFWorkbook(POIFSFileSystem), this constructs the POI filesystem around yourInputStream
.HSSFWorkbook(POIFSFileSystem fs)
Given a POI POIFSFileSystem object, read in its Workbook along with all related nodes, and populate the high and low level models.HSSFWorkbook(POIFSFileSystem fs, boolean preserveNodes)
Given a POI POIFSFileSystem object, read in its Workbook and populate the high and low level models.
-
2、
2.返回顶部 |
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
0、
1、
6.返回顶部 |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |