| 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(java.util.Collection<java.lang.String> groups)
Creates an identical contact with only the groups changed.
|
Contact |
Contact.withGroups(java.lang.String... groups)
Creates an identical contact with only the groups changed.
|
Contact |
Contact.withName(java.lang.String name)
Creates an identical contact with only the name changed.
|
Contact |
Contact.withoutGroups()
Creates an identical contact without groups.
|
Contact |
Contact.withoutName()
Creates an identical contact without name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Contact> |
Roster.getContacts()
Gets the contacts.
|
java.util.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(java.util.Collection<Contact> contacts) |
Roster(java.util.Collection<Contact> contacts,
java.lang.String version) |
Copyright © 2014–2018 XMPP.rocks. All rights reserved.