public class ResourceDigestGeneratorImpl extends java.lang.Object implements ResourceDigestGenerator
| Constructor and Description |
|---|
ResourceDigestGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
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)
Examines the path (typically, the file name extension at the end of the path) to determine if a checksum is
required for the path.
|
public ResourceDigestGeneratorImpl()
public java.lang.String generateDigest(java.net.URL url)
ResourceDigestGeneratorResourceDigestGenerator.requiresDigest(String) is
true.
As of Tapestry 5.4, simply returns null.generateDigest in interface ResourceDigestGeneratorpublic boolean requiresDigest(java.lang.String path)
ResourceDigestGeneratorResource style, without a leading slash.
As of Tapestry 5.4, simply returns false.requiresDigest in interface ResourceDigestGenerator${project.version} - Copyright © 2003-2015 The Apache Software Foundation.