private String[] getSIUDeviceDetails(String[] deviceNames) {
   Vector<String> deviceDetails = new Vector<String>();
   for (int i = 0; i < deviceInfo_.size(); i++) {
     NCRVendorDependentInformation info = deviceInfo_.get(i);
     for (int j = 0; j < deviceNames.length; j++) {
       if (info.getDeviceName().equals(deviceNames[j])) {
         deviceDetails.add(info.toString());
       }
     }
   }
   String[] values = new String[deviceDetails.size()];
   values = deviceDetails.toArray(values);
   return values;
 }
  private String[] getDeviceDetails(String[] deviceNames) {
    String[] values = new String[1];
    for (int i = 0; i < deviceInfo_.size(); i++) {
      NCRVendorDependentInformation info = deviceInfo_.get(i);
      for (int j = 0; j < deviceNames.length; j++) {
        if (info.getDeviceName().equals(deviceNames[j])) {
          values[0] = info.toString();
        }
      }
    }

    if (values[0] == null) {
      for (int i = 0; i < deviceInfo_.size(); i++) {
        NCRVendorDependentInformation info = deviceInfo_.get(i);
        for (int j = 0; j < deviceNames.length; j++) {
          if (info.getDeviceName().startsWith(deviceNames[j])) {
            values[0] = info.toString();
          }
        }
      }
    }
    return values;
  }