for (int i = 0; i < args.length; i++) {
// Calculate the digest
File f = new File(args[i]);
ListCallbackDigestUserInterface d
= new ListCallbackDigestUserInterface(f);
d.calculateDigest();
}
String result = input.getName() + ": ";
if (digest != null) {
for (int i = 0; i < digest.length; i++) {
result += digest[i] + " ";
}
}
else {
result += "digest not available";
}
return result;