public class ExcelExporter
extends java.lang.Object
ExcelExporter lets you export Workbooks to Excel Open XML documents.| Constructor and Description |
|---|
ExcelExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportXlsx(Workbook workbook,
java.lang.String filePath)
Exports the specified workbook to the specified Excel Open XML document.
|
javax.xml.parsers.DocumentBuilder |
getSharedBuilder()
Gets the shared DocumentBuilder to use for XML parsing.
|
WorkbookView |
getView()
Gets an optional view.
|
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 exportXlsx(Workbook workbook, java.lang.String filePath) throws java.io.IOException
workbook - A Workbook instance to export the data from.filePath - A string specifying the path to the XLSX file.java.io.IOException - An exception signifying input / output error.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()