| Package | Description |
|---|---|
| org.jivesoftware.smack |
Core classes of the Smack API.
|
| Modifier and Type | Method and Description |
|---|---|
RosterEntry |
UserRoster.getEntry(String user)
Returns the roster entry associated with the given XMPP address or
null if the user is not an entry in the roster.
|
RosterEntry |
RosterGroup.getEntry(String user)
Returns the roster entry associated with the given XMPP address or
null if the user is not an entry in the group.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<RosterEntry> |
UserRoster.getEntries()
Returns an unmodifiable collection of all entries in the roster,
including entries that don't belong to any groups.
|
Collection<RosterEntry> |
RosterGroup.getEntries()
Returns an unmodifiable collection of all entries in the group.
|
Collection<RosterEntry> |
UserRoster.getUnfiledEntries()
Returns an unmodifiable collection for the unfiled roster entries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RosterGroup.addEntry(RosterEntry entry)
Adds a roster entry to this group.
|
boolean |
RosterGroup.contains(RosterEntry entry)
Returns true if the specified entry is part of this group.
|
void |
UserRoster.removeEntry(RosterEntry entry)
Removes a roster entry from the roster.
|
void |
RosterGroup.removeEntry(RosterEntry entry)
Removes a roster entry from this group.
|
Copyright © 2014. All Rights Reserved.