public final class Block
extends java.lang.Object
The implementation of the <block/> element in the urn:xmpp:blocking namespace.
This class is immutable.
| Constructor and Description |
|---|
Block(java.util.Collection<Jid> blockedItems) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Jid> |
getItems()
Gets the blocked items.
|
java.lang.String |
toString() |
public Block(java.util.Collection<Jid> blockedItems)
blockedItems - The blocked items.public final java.util.List<Jid> getItems()
Gets the blocked items.
public final java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2019 XMPP.rocks. All rights reserved.