org.apache.felix.upnp.basedriver.controller
Interface DevicesInfo

All Known Implementing Classes:
DriverControllerImpl

public interface DevicesInfo


Method Summary
 String getLocationURL(String udn)
          Allow you to get the URL of the XML description of a device specified by UUID.
 String getSCPDURL(String udn, String serviceId)
          Allow you to get the URL of the XML description of a service specified by the ServiceId and the UUID of the device that contains the service
 String resolveRelativeUrl(String udn, String link)
          Allow you to get the absolute URL of a link that is contained in a device.
 

Method Detail

getLocationURL

String getLocationURL(String udn)
Allow you to get the URL of the XML description of a device specified by UUID.

Parameters:
udn - the UUID that identify a device
Returns:
a String representing the URL pointing to the description of the Device

getSCPDURL

String getSCPDURL(String udn,
                  String serviceId)
Allow you to get the URL of the XML description of a service specified by the ServiceId and the UUID of the device that contains the service

Parameters:
udn - the UUID of the device that contain the service
serviceId - the ServiceId of the service
Returns:
a String representing the URL pointing to the description of the Device

resolveRelativeUrl

String resolveRelativeUrl(String udn,
                          String link)
Allow you to get the absolute URL of a link that is contained in a device. For example the presentation page of a device might be relative to the BASE URL declared in the device description.

Parameters:
udn - the UUID of the UPnP Device
link - the relative link that you want to resolve
Returns:
a String representing the absolute URL of the resource specified by the link


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.