Data firstData = convertedData[0];
Object fileData = firstData.getData();
if (fileData != null && fileData instanceof File) {
this.convertedDataReport =
new ConvertedDataReport((File) fileData,(String) firstData.getMetadata().get(DataProperty.LABEL) +
" for " + fpr.getName() + " of " + tr.getName());
} else {
this.convertedDataReport =
new ConvertedDataReport((String) firstData.getMetadata().get(DataProperty.LABEL) +
" for " + fpr.getName() + " of " + tr.getName());
}
}