public interface AssetChecksumGenerator
Resource or StreamableResource which can be incorporated into
the client URL of an Asset.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateChecksum(Resource resource)
Given a raw resource, generates an MD5 checksum of the resource's contents.
|
java.lang.String |
generateChecksum(StreamableResource resource)
Given a streamable resource, generates an MD5 checksum of the resource's contents.
|
java.lang.String generateChecksum(Resource resource) throws java.io.IOException
resource - java.io.IOExceptionjava.lang.String generateChecksum(StreamableResource resource) throws java.io.IOException
resource - java.io.IOException${project.version} - Copyright © 2003-2015 The Apache Software Foundation.