public abstract class AbstractSpreadsheet extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
protected File |
saveFile |
protected org.apache.poi.ss.usermodel.Workbook |
workbook |
| Constructor and Description |
|---|
AbstractSpreadsheet(File spreadsheetFile,
boolean create,
boolean readonly) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear() |
void |
close() |
abstract void |
create(File spreadsheetFile) |
abstract String |
verifyWorkbook() |
void |
writeToFile(File file)
Writes the spreadsheet to a file
|
protected static final org.slf4j.Logger logger
protected File saveFile
protected org.apache.poi.ss.usermodel.Workbook workbook
public AbstractSpreadsheet(File spreadsheetFile, boolean create, boolean readonly) throws SpreadsheetException
spreadsheetFile - create - AnalyzeExceptionSpreadsheetExceptionpublic abstract void create(File spreadsheetFile) throws IOException, SpreadsheetException
IOExceptionSpreadsheetExceptionpublic abstract void clear()
public abstract String verifyWorkbook()
public void writeToFile(File file) throws IOException
IOExceptionpublic void close()
throws SpreadsheetException
AnalyzeExceptionSpreadsheetExceptionCopyright © 2018 Linux Foundation. All Rights Reserved.