|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcorny.addressbook.ContactUtils.ContactUtils
public class ContactUtils
Utility class to perform Actions on Contacts.
Constructor Summary | |
---|---|
ContactUtils()
|
Method Summary | |
---|---|
static java.util.List<Contact> |
filterContacts(java.util.Collection<Contact> coll,
Filter filter)
Filters the given Collection of Contacts. |
static int |
searchAndReplace(java.util.Collection<Contact> contacts,
ContactProperty property,
java.lang.String propertyLabel,
ValueModifier modifier)
Searches through the Address Book and modifies the specified property. |
static int |
searchAndReplace(java.util.Collection<Contact> contacts,
ContactProperty property,
java.lang.String propertyLabel,
ValueModifier modifier,
java.awt.Window parent)
Searches through the Address Book and modifies the specified property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactUtils()
Method Detail |
---|
public static int searchAndReplace(java.util.Collection<Contact> contacts, ContactProperty property, java.lang.String propertyLabel, ValueModifier modifier)
contacts
- Contacts to processproperty
- Property to modifypropertyLabel
- Label of the (multivalue) property or null to process every
labelmodifier
- ValueModifier
public static int searchAndReplace(java.util.Collection<Contact> contacts, ContactProperty property, java.lang.String propertyLabel, ValueModifier modifier, java.awt.Window parent)
contacts
- Contacts to processproperty
- Property to modifypropertyLabel
- Label of the (multivalue) property or null to process every
labelmodifier
- ValueModifierparent
- Parent window of the progress dialog
public static java.util.List<Contact> filterContacts(java.util.Collection<Contact> coll, Filter filter)
coll
- Collection to filterfilter
- Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |