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

All Known Implementing Classes:
DriverControllerImpl

public interface DevicesInfo


Method Summary
 java.lang.String getLocationURL(java.lang.String udn)
          Allow you to get the URL of the XML description of a device specified by UUID.
 java.lang.String getSCPDURL(java.lang.String udn, java.lang.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
 java.lang.String resolveRelativeUrl(java.lang.String udn, java.lang.String link)
          Allow you to get the absolute URL of a link that is contained in a device.
 

Method Detail

getLocationURL

java.lang.String getLocationURL(java.lang.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

java.lang.String getSCPDURL(java.lang.String udn,
                            java.lang.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

java.lang.String resolveRelativeUrl(java.lang.String udn,
                                    java.lang.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