public class PacketUtil extends Object
Constructor and Description |
---|
PacketUtil() |
Modifier and Type | Method and Description |
---|---|
static <PE extends ExtensionElement> |
extensionElementFrom(Collection<ExtensionElement> collection,
String element,
String namespace)
Get a extension element from a collection
|
static <PE extends ExtensionElement> |
packetExtensionfromCollection(Collection<ExtensionElement> collection,
String element,
String namespace)
Deprecated.
use
extensionElementFrom(Collection, String, String) instead |
public PacketUtil()
@Deprecated public static <PE extends ExtensionElement> PE packetExtensionfromCollection(Collection<ExtensionElement> collection, String element, String namespace)
extensionElementFrom(Collection, String, String)
insteadcollection
- element
- namespace
- public static <PE extends ExtensionElement> PE extensionElementFrom(Collection<ExtensionElement> collection, String element, String namespace)
collection
- element
- namespace
-