Esempio n. 1
0
 public URL getURLBase() {
   String urlBase = UPnPImplUtils.getXmlParam(deviceElem, "URLBase");
   if (urlBase != null) {
     try {
       return new URL(urlBase);
     } catch (Throwable e) {
       e.printStackTrace();
       return null;
     }
   } else {
     return null;
   }
 }
Esempio n. 2
0
 public String getFriendlyName() {
   return UPnPImplUtils.getXmlParam(deviceElem, "friendlyName");
 }
Esempio n. 3
0
 public String getDeviceType() {
   return UPnPImplUtils.getXmlParam(deviceElem, "deviceType");
 }