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