|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.device.Device
public class Device
Represents the device informations
Field Summary | |
---|---|
static java.lang.String |
DEVICE_ENTRY_KEY
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getCapabilities()
Returns the device's capability map. |
java.lang.String |
getCapability(java.lang.String capability)
Returns string representing the device's capability |
java.lang.Object |
getProperty(java.lang.String key)
Returns a specific property of the context. |
java.lang.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 java.lang.String DEVICE_ENTRY_KEY
Method Detail |
---|
public java.lang.String getUserAgent()
getUserAgent
in interface IDevice
java.lang.Exception
public java.lang.String getCapability(java.lang.String capability)
getCapability
in interface IDevice
capability
- to be looked up
public java.util.Map<java.lang.String,java.lang.String> getCapabilities()
getCapabilities
in interface IDevice
public java.lang.Object getProperty(java.lang.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 |