|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.ResourceDigestGeneratorImpl
public class ResourceDigestGeneratorImpl
Implementation of ResourceDigestGenerator
that generates MD5 digests.
Constructor Summary | |
---|---|
ResourceDigestGeneratorImpl(java.util.Collection<java.lang.String> configuration)
|
Method Summary | |
---|---|
java.lang.String |
generateDigest(java.net.URL url)
Reads the content of a URL (presumably, for a resource on the classpath) and generates a digest of its content. |
boolean |
requiresDigest(java.lang.String path)
Current implementation is based on the path extension, and a configured list of extensions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceDigestGeneratorImpl(java.util.Collection<java.lang.String> configuration)
Method Detail |
---|
public java.lang.String generateDigest(java.net.URL url)
ResourceDigestGenerator
ResourceDigestGenerator.requiresDigest(String)
is
true.
generateDigest
in interface ResourceDigestGenerator
public boolean requiresDigest(java.lang.String path)
requiresDigest
in interface ResourceDigestGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |