| Package | Description |
|---|---|
| rocks.xmpp.im.roster.model |
Provides XML schema implementations of the Roster Namespace.
|
| Modifier and Type | Method and Description |
|---|---|
static Contact |
Contact.removeContact(Jid jid)
Creates a new contact to send to the server for removal.
|
Contact |
Contact.withGroups(Collection<String> groups)
Creates an identical contact with only the groups changed.
|
Contact |
Contact.withGroups(String... groups)
Creates an identical contact with only the groups changed.
|
Contact |
Contact.withoutGroups()
Creates an identical contact without groups.
|
| Modifier and Type | Method and Description |
|---|---|
List<Contact> |
Roster.getContacts()
Gets the contacts.
|
Collection<Contact> |
ContactGroup.getContacts()
Gets the contacts in this group.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Contact.compareTo(Contact o)
Compares two contacts with each other by first comparing their names, then their subscription states and eventually their pending states.
|
| Constructor and Description |
|---|
Roster(Contact... contacts) |
| Constructor and Description |
|---|
Roster(Collection<Contact> contacts) |
Roster(Collection<Contact> contacts,
String version) |
Copyright © 2014–2016 XMPP.rocks. All rights reserved.