for (int i = 0; i < args.length; i++) { // Calculate the digest File f = new File(args[i]); CallbackDigest cb = new CallbackDigest(f); Thread t = new Thread(cb); t.start(); }
StringBuffer result = new StringBuffer(name); result.append(": "); for (int j = 0; j < digest.length; j++) { result.append(digest[j] + " "); } System.out.println(result);