CsvType - Klasse des CSV-Quellobjektespublic abstract class CsvExportTask<CsvType> extends ImmoToolTask<Long,Void>
ImmoToolTask zum Export von CSV-Tabellen.ImmoToolTask.Adapter, ImmoToolTask.Callback, ImmoToolTask.ListenerSwingWorker.StateValue| Constructor and Description |
|---|
CsvExportTask(File csvFile,
Charset csvCharset,
AbstractDbDriver dbDriver) |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
doInBackground() |
protected Long |
executeExport() |
File |
getCsvFile() |
protected AbstractDbDriver |
getDbDriver() |
protected abstract String |
getFieldTitle(int index) |
protected String[] |
getHeadlineValues() |
protected abstract CsvType[] |
loadCsvObjects() |
protected abstract String[] |
loadEmptyContainer() |
protected void |
writeValue(int field,
String value,
String[] values) |
protected abstract void |
writeValues(CsvType 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, setProgresspublic CsvExportTask(File csvFile, Charset csvCharset, AbstractDbDriver dbDriver)
protected Long doInBackground() throws Exception
doInBackground in class ImmoToolTask<Long,Void>Exceptionprotected Long executeExport() throws IOException, SQLException
IOExceptionSQLExceptionpublic File getCsvFile()
protected AbstractDbDriver getDbDriver()
protected abstract String getFieldTitle(int index)
protected String[] getHeadlineValues()
protected abstract CsvType[] loadCsvObjects() throws SQLException
SQLExceptionprotected abstract String[] loadEmptyContainer()
Copyright © 2015 OpenEstate. All rights reserved.