public class ContactsEntryExportVcardTask extends ImmoToolTask<Long,Void>
ImmoToolTask
zum Export von Adressen im VCard-Format.ImmoToolTask.Adapter, ImmoToolTask.Callback, ImmoToolTask.Listener
SwingWorker.StateValue
Constructor and Description |
---|
ContactsEntryExportVcardTask(AbstractDbDriver dbDriver,
DbContactsHandler contactsHandler,
File exportFile,
Charset charset) |
ContactsEntryExportVcardTask(AbstractDbDriver dbDriver,
DbContactsHandler contactsHandler,
File exportFile,
Charset charset,
Long groupId) |
Modifier and Type | Method and Description |
---|---|
protected Long |
doInBackground() |
protected DbContactsHandler |
getContactsHandler() |
protected AbstractDbDriver |
getDbDriver() |
protected DbContactsEntry[] |
loadContacts() |
protected DbContactsEntry[] |
loadContacts(Connection c,
DbContactsHandler contactsHandler) |
protected void |
writeContactToVcard(DbContactsEntry contact,
net.fortuna.ical4j.vcard.VCard vcard) |
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, succeeded
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
public ContactsEntryExportVcardTask(AbstractDbDriver dbDriver, DbContactsHandler contactsHandler, File exportFile, Charset charset)
public ContactsEntryExportVcardTask(AbstractDbDriver dbDriver, DbContactsHandler contactsHandler, File exportFile, Charset charset, Long groupId)
protected Long doInBackground() throws Exception
doInBackground
in class ImmoToolTask<Long,Void>
Exception
protected DbContactsHandler getContactsHandler()
protected AbstractDbDriver getDbDriver()
protected DbContactsEntry[] loadContacts() throws SQLException
SQLException
protected DbContactsEntry[] loadContacts(Connection c, DbContactsHandler contactsHandler) throws SQLException
SQLException
protected void writeContactToVcard(DbContactsEntry contact, net.fortuna.ical4j.vcard.VCard vcard)
Copyright © 2015 OpenEstate. All rights reserved.