@Internal public class HSSFWorkbookFactory extends WorkbookFactory
WorkbookFactory.create(java.io.File)
and similarWorkbookFactory.CreateWorkbook0, WorkbookFactory.CreateWorkbook1<T>, WorkbookFactory.CreateWorkbook2<T,U>
createHssfByNode, createHssfFromScratch, createXssfByFile, createXssfByPackage, createXssfByStream, createXssfFromScratch
Constructor and Description |
---|
HSSFWorkbookFactory() |
Modifier and Type | Method and Description |
---|---|
static HSSFWorkbook |
createWorkbook()
Create a new empty Workbook
|
static HSSFWorkbook |
createWorkbook(DirectoryNode root)
Creates a HSSFWorkbook from the given DirectoryNode
|
static HSSFWorkbook |
createWorkbook(POIFSFileSystem fs)
Creates a HSSFWorkbook from the given
POIFSFileSystem |
public static HSSFWorkbook createWorkbook()
public static HSSFWorkbook createWorkbook(POIFSFileSystem fs) throws java.io.IOException
POIFSFileSystem
Note that in order to properly release resources the Workbook should be closed after use.
java.io.IOException
public static HSSFWorkbook createWorkbook(DirectoryNode root) throws java.io.IOException
Note that in order to properly release resources the Workbook should be closed after use.
java.io.IOException
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.