|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.capability.CapabilityMapFactory
This class describes various browsers capabilities and provides the ability to query them. FIXME: the implementation should change to be configuration file based and handle more browsers.
Field Summary | |
static java.lang.String |
AGENT_XML
|
static java.lang.String |
DEFAULT_AGENT
|
Constructor Summary | |
CapabilityMapFactory()
|
Method Summary | |
static CapabilityMap |
getCapabilityMap(org.apache.turbine.util.RunData rundata)
Returns the map corresponding to the given RunData. |
static CapabilityMap |
getCapabilityMap(java.lang.String useragent)
Returns the map corresponding to the given user-agent |
static CapabilityMap |
getDefaultCapabilityMap()
Returns the map corresponding to the given 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 DEFAULT_AGENT
public static final java.lang.String AGENT_XML
Constructor Detail |
public CapabilityMapFactory()
Method Detail |
public static CapabilityMap getCapabilityMap(org.apache.turbine.util.RunData rundata)
rundata
- the request RunData
public static CapabilityMap getCapabilityMap(java.lang.String useragent)
useragent
- a user-agent string in the HTTP User-agent format
public static CapabilityMap getDefaultCapabilityMap()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |