org.milyn.useragent
Class UAContextUtil
java.lang.Object
org.milyn.useragent.UAContextUtil
public abstract class UAContextUtil
- extends Object
UAContext utility methods.
- Author:
- tfennelly
|
Method Summary |
static boolean |
isDeviceOrProfile(String name,
UAContext deviceContext)
Does the name parameter match device named in the deviceContext, or on of
the deviceContext profiles. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UAContextUtil
public UAContextUtil()
isDeviceOrProfile
public static boolean isDeviceOrProfile(String name,
UAContext deviceContext)
- Does the name parameter match device named in the deviceContext, or on of
the deviceContext profiles.
- Parameters:
name - The name.deviceContext - The deviceContext.
- Returns:
- True if the name parameter is the requesting device's "Common
Name" or the name name of one of it's profiles.
Copyright © 2018. All rights reserved.