|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.SwingWorker<java.util.ArrayList<Contact>,java.lang.Void>
esmska.persistence.ContactParser
public class ContactParser
Parse contacts from csv file of different programs. Works in background thread. Returns collection of parsed contacts.
| Nested Class Summary | |
|---|---|
static class |
ContactParser.ContactType
Types of parseable file formats |
| Nested classes/interfaces inherited from class javax.swing.SwingWorker |
|---|
javax.swing.SwingWorker.StateValue |
| Constructor Summary | |
|---|---|
ContactParser(java.io.File file,
ContactParser.ContactType type)
Creates new ContactParser. |
|
| Method Summary | |
|---|---|
protected java.util.ArrayList<Contact> |
doInBackground()
|
| Methods inherited from class javax.swing.SwingWorker |
|---|
addPropertyChangeListener, cancel, done, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContactParser(java.io.File file,
ContactParser.ContactType type)
file - File to parse.type - Which program was used to save the file.| Method Detail |
|---|
protected java.util.ArrayList<Contact> doInBackground()
throws java.lang.Exception
doInBackground in class javax.swing.SwingWorker<java.util.ArrayList<Contact>,java.lang.Void>java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||