public class ContactsEntryImportVCardTask extends ImmoToolTask<Integer,Void>
ImmoToolTask
zum Import von Adressen im VCard-Format.ImmoToolTask.Adapter, ImmoToolTask.Callback, ImmoToolTask.Listener
SwingWorker.StateValue
Constructor and Description |
---|
ContactsEntryImportVCardTask(AbstractDbDriver dbDriver,
DbContactsHandler contactsHandler,
File importFile) |
Modifier and Type | Method and Description |
---|---|
protected void |
contactWasImported(DbContactsEntry contact) |
protected Integer |
doInBackground() |
protected DbContactsHandler |
getContactsHandler() |
protected AbstractDbDriver |
getDbDriver() |
File |
getImportFile() |
void |
setImportGroup(DbContactsGroup importGroup) |
protected void |
writeVCardToContact(net.fortuna.ical4j.vcard.VCard vcard,
DbContactsEntry contact) |
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 ContactsEntryImportVCardTask(AbstractDbDriver dbDriver, DbContactsHandler contactsHandler, File importFile)
protected void contactWasImported(DbContactsEntry contact)
protected DbContactsHandler getContactsHandler()
protected AbstractDbDriver getDbDriver()
public File getImportFile()
protected Integer doInBackground() throws Exception
doInBackground
in class ImmoToolTask<Integer,Void>
Exception
public void setImportGroup(DbContactsGroup importGroup)
protected void writeVCardToContact(net.fortuna.ical4j.vcard.VCard vcard, DbContactsEntry contact)
Copyright © 2015 OpenEstate. All rights reserved.