public class AssetChecksumGeneratorImpl extends Object implements AssetChecksumGenerator
| Constructor and Description |
|---|
AssetChecksumGeneratorImpl(StreamableResourceSource streamableResourceSource,
ResourceChangeTracker tracker) |
| 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.
|
public AssetChecksumGeneratorImpl(StreamableResourceSource streamableResourceSource, ResourceChangeTracker tracker)
public String generateChecksum(Resource resource) throws IOException
AssetChecksumGeneratorgenerateChecksum in interface AssetChecksumGeneratorIOExceptionpublic String generateChecksum(StreamableResource resource) throws IOException
AssetChecksumGeneratorgenerateChecksum in interface AssetChecksumGeneratorIOException${project.version} - Copyright © 2003-2015 The Apache Software Foundation.