|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.device.Device
public class Device
Represents the device informations
Field Summary | |
---|---|
static String |
DEVICE_ENTRY_KEY
|
Method Summary | |
---|---|
Map<String,String> |
getCapabilities()
Returns the device's capability map. |
String |
getCapability(String capability)
Returns string representing the device's capability |
Object |
getProperty(String key)
Returns a specific property of the context. |
String |
getUserAgent()
Returns string representing the device's user agent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEVICE_ENTRY_KEY
Method Detail |
---|
public String getUserAgent()
getUserAgent
in interface IDevice
Exception
public String getCapability(String capability)
getCapability
in interface IDevice
capability
- to be looked up
public Map<String,String> getCapabilities()
getCapabilities
in interface IDevice
public Object getProperty(String key)
getProperty
in interface IPortalRequestContextEntry
key
- the name of the context's property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |