public class DeviceSetup {
public static void deviceSetup(Dictionary properties, Device dev,Vector icons,Hashtable services) {
//TODO if I don't have any device, the size of devlist is 0
DeviceList devList = dev.getDeviceList();
/* childrenUDN property */
if (devList.size() > 0) {
String[] childrenUDN = new String[devList.size()];
for (int i = 0; i < devList.size(); i++) {
childrenUDN[i] = devList.getDevice(i).getUDN();
}
properties.put(UPnPDevice.CHILDREN_UDN, childrenUDN);
}
/* DEVICE CATEGORY */
properties.put(