XlsType - Klasse des XLS-Quellobjektespublic abstract class XlsExportTask<XlsType> extends ImmoToolTask<Long,Void>
ImmoToolTask zum Export von Excel-Tabellen.ImmoToolTask.Adapter, ImmoToolTask.Callback, ImmoToolTask.ListenerSwingWorker.StateValue| Modifier | Constructor and Description |
|---|---|
protected |
XlsExportTask(AbstractDbDriver dbDriver,
File xlsFile,
Charset xlsCharset,
String xlsTitle) |
| Modifier and Type | Method and Description |
|---|---|
protected jxl.write.WritableWorkbook |
createWorkbook(File f,
jxl.WorkbookSettings settings) |
protected Long |
doInBackground() |
protected Long |
executeExport() |
AbstractDbDriver |
getDbDriver() |
protected abstract String |
getFieldTitle(int index) |
protected jxl.write.WritableCellFormat |
getFootlineFormat(boolean bold) |
protected jxl.write.WritableCellFormat |
getHeadlineFormat(boolean bold) |
protected int |
getHeadlineRowspan() |
protected String[] |
getHeadlineValues(int index) |
protected jxl.write.WritableCellFormat |
getRow1Format() |
protected jxl.write.WritableCellFormat |
getRow2Format() |
File |
getXlsFile() |
protected abstract String[] |
loadEmptyContainer() |
protected abstract XlsType[] |
loadXlsObjects() |
protected void |
writeValue(int field,
String value,
String[] values) |
protected abstract void |
writeValues(XlsType src,
String[] dest) |
addListener, cancelled, checkCancelled, createCallback, done, executeAndWait, executeAndWait, failed, finished, getDescription, getId, getMessage, getParentWindow, getTaskDialog, getTitle, isCancelException, isPending, isStarted, process, propertyChange, removeListener, setDescription, setMessage, setParentWindow, setProgress, setProgress, setProgress, setProgress, setTaskDialog, setTitle, succeededaddPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgressprotected XlsExportTask(AbstractDbDriver dbDriver, File xlsFile, Charset xlsCharset, String xlsTitle)
protected jxl.write.WritableWorkbook createWorkbook(File f, jxl.WorkbookSettings settings) throws IOException
IOExceptionprotected Long doInBackground() throws Exception
doInBackground in class ImmoToolTask<Long,Void>Exceptionprotected Long executeExport() throws IOException, jxl.write.WriteException, SQLException
IOExceptionjxl.write.WriteExceptionSQLExceptionpublic AbstractDbDriver getDbDriver()
protected abstract String getFieldTitle(int index)
protected jxl.write.WritableCellFormat getFootlineFormat(boolean bold)
throws jxl.write.WriteException
jxl.write.WriteExceptionprotected jxl.write.WritableCellFormat getHeadlineFormat(boolean bold)
throws jxl.write.WriteException
jxl.write.WriteExceptionprotected int getHeadlineRowspan()
protected String[] getHeadlineValues(int index)
protected jxl.write.WritableCellFormat getRow1Format()
throws jxl.write.WriteException
jxl.write.WriteExceptionprotected jxl.write.WritableCellFormat getRow2Format()
throws jxl.write.WriteException
jxl.write.WriteExceptionpublic File getXlsFile()
protected abstract String[] loadEmptyContainer()
protected abstract XlsType[] loadXlsObjects() throws SQLException
SQLExceptionCopyright © 2015 OpenEstate. All rights reserved.