net.sourceforge.wurfl.core
Interface DeviceProvider

All Known Implementing Classes:
AbstractDeviceProvider, DefaultDeviceProvider

public interface DeviceProvider

Factory for Device instances.

Provide a method to get a Device from device identifier.

Version:
$Id: DeviceProvider.java 934 2012-03-27 13:34:26Z fulvio.crivellaro $

Method Summary
 Device getDevice(DeviceInfo info)
          Returns the device identified by given id.
 

Method Detail

getDevice

Device getDevice(DeviceInfo info)
                 throws DeviceNotDefinedException
Returns the device identified by given id.

Parameters:
info - The identifier
Returns:
Device instance identified by id.
Throws:
DeviceNotDefinedException - if Device with given identifier is not defined in WURFL.


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.