public static String compareChecksum ( StorageProvider provider , String spaceId , String contentId , String checksum ) throws StorageException { String providerChecksum = provider . getContentProperties ( spaceId , contentId ) . get ( StorageProvider . PROPERTIES_CONTENT_CHECKSUM ) ; return compareChecksum ( providerChecksum , spaceId , contentId , checksum ) ; }
Determines if the checksum for a particular piece of content stored in a StorageProvider matches the expected checksum value .