net.sourceforge.wurfl.wurflapi
Class ListManager

java.lang.Object
  |
  +--net.sourceforge.wurfl.wurflapi.ListManager

public class ListManager
extends java.lang.Object

Author:
Luca Passani, passani at eunet dot no

This class is useful to avoid exposing the Wurfl class externally. It just returns lists of devices, lists of capabilities and lists of capability name/values.

Method Summary
 java.util.TreeMap getActualDeviceElementsList()
          Return TreeMap of device IDs to WurflDevices representing actual devices (i.e.
 java.util.HashMap getCapabilitiesForDeviceID(java.lang.String device_id)
          Given a device ID returns HashMap with association of all capabilities and their value
 java.util.ArrayList getCapabilitySet()
          Return ArrayList of Capabilities (i.e.
 java.util.ArrayList getDeviceBrandList()
          Return Ordered ArrayList of Brand Name
 java.util.HashMap getDeviceElementsList()
          Return HashMap of device IDs to WurflDevices
 java.util.TreeMap getDeviceGroupedByBrand()
          Return HashMap of HashMaps brand->modelname->WurflDevice
 java.util.HashSet getDeviceIdSet()
          Return HashSet of device IDs (all device IDs, optimized for fast look-up on existence)
 java.util.ArrayList getDeviceIdSetSorted()
          Return ArrayList of device IDs to WurflDevices
 java.util.HashMap getListOfGroups()
          Return HashMap of Arraylists of Capabilities (i.e.
 java.util.HashMap getListOfUAWithDeviceID()
          Return HashMap (from UA Strings to Device Ids)
 java.util.TreeMap getSpecialActualDeviceElementsList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDeviceIdSet

public java.util.HashSet getDeviceIdSet()
Return HashSet of device IDs (all device IDs, optimized for fast look-up on existence)


getDeviceIdSetSorted

public java.util.ArrayList getDeviceIdSetSorted()
Return ArrayList of device IDs to WurflDevices


getCapabilitySet

public java.util.ArrayList getCapabilitySet()
Return ArrayList of Capabilities (i.e. name of all capabilities)


getListOfGroups

public java.util.HashMap getListOfGroups()
Return HashMap of Arraylists of Capabilities (i.e. name of all capabilities)


getDeviceElementsList

public java.util.HashMap getDeviceElementsList()
Return HashMap of device IDs to WurflDevices


getListOfUAWithDeviceID

public java.util.HashMap getListOfUAWithDeviceID()
Return HashMap (from UA Strings to Device Ids)


getCapabilitiesForDeviceID

public java.util.HashMap getCapabilitiesForDeviceID(java.lang.String device_id)
Given a device ID returns HashMap with association of all capabilities and their value


getActualDeviceElementsList

public java.util.TreeMap getActualDeviceElementsList()
Return TreeMap of device IDs to WurflDevices representing actual devices (i.e. this device element represents a real device and a bunch of subdevices with similar software subversions.


getSpecialActualDeviceElementsList

public java.util.TreeMap getSpecialActualDeviceElementsList()

getDeviceGroupedByBrand

public java.util.TreeMap getDeviceGroupedByBrand()
Return HashMap of HashMaps brand->modelname->WurflDevice


getDeviceBrandList

public java.util.ArrayList getDeviceBrandList()
Return Ordered ArrayList of Brand Name



Copyright © 2003,2004 Luca Passani.