|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.smslib.Phonebook
public class Phonebook
The Phonebook class represents the phonebook. All phonebook entries are kept in the contacts collection. The class also provides some convinience / filtering methods for retrieving the contacts.
Constructor Summary | |
---|---|
Phonebook()
|
Method Summary | |
---|---|
java.util.Collection<Contact> |
getContacts()
Returns the contacts' collection with all (unfiltered) entries. |
java.util.Collection<Contact> |
getContacts(Contact.ContactLocation type)
Filters the contacts by contact type and returns a collection of contacts matching the criteria. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Phonebook()
Method Detail |
---|
public java.util.Collection<Contact> getContacts()
public java.util.Collection<Contact> getContacts(Contact.ContactLocation type)
type
- The contact type.
|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |