try {
String paths[] = new String[files.length];
for (int i = 0; i < files.length; i++) {
paths[i] = files[i].getAbsolutePath();
}
ResultObject result = this.iTunesCom.callFunction("ConvertFiles2",
paths);
DispatchObject dispatch = result.getDispatch();
return new ITOperationStatusImpl(dispatch);
} catch (DispatchObjectNullException e) {
throw new ConvertOperationFailed(
"Convert operation for several files failed!");
}