public class ExcelImporter
extends java.lang.Object
ExcelImporter lets you import Excel Open XML documents into a Workbook.| Constructor and Description |
|---|
ExcelImporter() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.parsers.DocumentBuilder |
getSharedBuilder()
Gets the shared DocumentBuilder to use for XML parsing.
|
WorkbookView |
getView()
Gets an optional view.
|
void |
importXlsx(java.lang.String filePath,
Workbook workbook)
Imports the specified Excel Open XML document into the specified workbook.
|
void |
setSharedBuilder(javax.xml.parsers.DocumentBuilder value)
Sets a shared DocumentBuilder to use for XML parsing.
|
void |
setView(WorkbookView value)
Sets an optional view.
|
public void importXlsx(java.lang.String filePath,
Workbook workbook)
filePath - A string specifying the path to the XLSX file.workbook - A Workbook instance where to import the Excel data.public WorkbookView getView()
public void setView(WorkbookView value)
public void setSharedBuilder(javax.xml.parsers.DocumentBuilder value)
value - A DocumentBuilder instance.public javax.xml.parsers.DocumentBuilder getSharedBuilder()