Class AssetChecksumGeneratorImpl
- java.lang.Object
- 
- org.apache.tapestry5.internal.services.assets.AssetChecksumGeneratorImpl
 
- 
- All Implemented Interfaces:
- AssetChecksumGenerator
 
 public class AssetChecksumGeneratorImpl extends Object implements AssetChecksumGenerator 
- 
- 
Constructor SummaryConstructors Constructor Description AssetChecksumGeneratorImpl(StreamableResourceSource streamableResourceSource, ResourceChangeTracker tracker)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgenerateChecksum(Resource resource)Given a raw resource, generates an MD5 checksum of the resource's contents.StringgenerateChecksum(StreamableResource resource)Given a streamable resource, generates an MD5 checksum of the resource's contents.
 
- 
- 
- 
Constructor Detail- 
AssetChecksumGeneratorImplpublic AssetChecksumGeneratorImpl(StreamableResourceSource streamableResourceSource, ResourceChangeTracker tracker) 
 
- 
 - 
Method Detail- 
generateChecksumpublic String generateChecksum(Resource resource) throws IOException Description copied from interface:AssetChecksumGeneratorGiven a raw resource, generates an MD5 checksum of the resource's contents.- Specified by:
- generateChecksumin interface- AssetChecksumGenerator
- Returns:
- checksum of contents
- Throws:
- IOException
 
 - 
generateChecksumpublic String generateChecksum(StreamableResource resource) throws IOException Description copied from interface:AssetChecksumGeneratorGiven a streamable resource, generates an MD5 checksum of the resource's contents.- Specified by:
- generateChecksumin interface- AssetChecksumGenerator
- Returns:
- checksum of contents
- Throws:
- IOException
 
 
- 
 
-