|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--swpchat.client.SWPConfig | +--swpchat.client.ContactsMapper
Class to handle the contacts. ContactsMapper uses swpProps from Superclass SWPConfig. Contacts can be saved with setContacts, and deleted from the Properties file with removeContacts.
Field Summary | |
(package private) static java.lang.String |
CLS
|
private static java.lang.String |
STR_CONTACTS_KEY
|
Fields inherited from class swpchat.client.SWPConfig |
PKConfigFileName, swpProps |
Constructor Summary | |
ContactsMapper()
|
Method Summary | |
void |
addNewContact(java.lang.String strNick)
Adds a new Contact to the Properties. |
void |
deleteContact(java.lang.String strNick)
remove Contact from the Properties |
Methods inherited from class swpchat.client.SWPConfig |
getConfigFileName, getStoredProperties, propertyKeys, save |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final java.lang.String CLS
private static final java.lang.String STR_CONTACTS_KEY
Constructor Detail |
public ContactsMapper()
Method Detail |
public void addNewContact(java.lang.String strNick)
strNick
- the key of the Property to add.public void deleteContact(java.lang.String strNick)
strNick
- the Contact to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |