fileName, uploadedFile.getContentType())));
return null;
}
DiskStorageStrategy strategy = (DiskStorageStrategy)uploadedFile.getStorageStrategy();
File file = strategy.getTempFile();
log.log(Level.INFO, "Start hashing");
log.log(Level.INFO, file.getAbsolutePath());
hash = hasher.hashFile(file.getAbsolutePath());
double[] beats = hasher.calcBeats(file.getAbsolutePath());
log.log(Level.INFO, "Complete hashing");