public class CalcImporter
extends java.lang.Object
CalcImporter lets you import OpenOffice Calc spreadsheets into a Workbook.| Constructor and Description |
|---|
CalcImporter() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
determineDateFormat(java.lang.String dateString) |
javax.xml.parsers.DocumentBuilder |
getSharedBuilder()
Gets the shared DocumentBuilder to use for XML parsing.
|
WorkbookView |
getView()
Gets an optional view.
|
void |
importCalc(java.lang.String filePath,
Workbook workbook)
Imports the specified OpenOffice Calc spreadsheet 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 importCalc(java.lang.String filePath,
Workbook workbook)
filePath - A string specifying the path to the ODS file.workbook - A Workbook instance where to import the Calc data.public static java.lang.String determineDateFormat(java.lang.String dateString)
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()