Пример #1
0
 public static boolean isMediaRenderer(Device d) {
   String t = d.getType().getType();
   for (DeviceType r : mediaRendererTypes) {
     if (r.getType().equals(t)) {
       return true;
     }
   }
   return false;
 }
Пример #2
0
 public DeviceType createDeviceType() {
   return DeviceType.valueOf(deviceType);
 }