|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Device
This is interface represent a device connected to the WURFL application.
It enable the user to obtain the capability of the actual device and other useful info. It hides the WURFL repository structure to the other API parts.
| Method Summary | |
|---|---|
Map |
getCapabilities()
Returns a device's capabilities values by name Map. |
String |
getCapability(String name)
Return a device's capability value. |
String |
getId()
Return the WURFL id of this device |
MarkUp |
getMarkUp()
Get the markUp handled by this device. |
String |
getUserAgent()
Return the user-agent string for this device as defined in WURFL. |
| Method Detail |
|---|
String getId()
String getUserAgent()
String getCapability(String name)
throws CapabilityNotDefinedException
name - The identifier of capability to get.
CapabilityNotDefinedException - If this device do not define the given capability.Map getCapabilities()
MarkUp getMarkUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||