|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.wurfl.core.handlers.classifiers.FilteredDevices
public class FilteredDevices
Filtered device data.
This class is responsible for collect devices classified according to their user-agent.
| Constructor Summary | |
|---|---|
FilteredDevices()
Default constructor |
|
| Method Summary | |
|---|---|
FilteredDevices |
clear()
FIXME: Document it |
boolean |
containsDevice(String deviceId)
|
String |
getDevice(String userAgent)
Return a device by collected user-agent. |
Set |
getDevices()
Return the collected user-agent naturally ordered. |
SortedSet |
getUserAgents()
Return the collected user-agent naturally ordered. |
FilteredDevices |
putDevice(String userAgent,
String deviceId)
Store device identifier with corresponding user-agent. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilteredDevices()
| Method Detail |
|---|
public SortedSet getUserAgents()
SortedSet containing collected user-agent.public Set getDevices()
SortedSet containing collected user-agent.public String getDevice(String userAgent)
userAgent - The user-agent corresponding to the device tried.
public boolean containsDevice(String deviceId)
public FilteredDevices putDevice(String userAgent,
String deviceId)
userAgent - The user-agent associated to device identifier.deviceId - The device identifier to store.public FilteredDevices clear()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||