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