@UsesConfiguration(value=java.lang.String.class) public interface ResourceDigestGenerator
ClasspathResource
,
ClasspathAssetFactory
Modifier and Type | Method and Description |
---|---|
String |
generateDigest(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(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(String path)
Resource
style, without a leading slash.
As of Tapestry 5.4, simply returns false.String generateDigest(URL url)
requiresDigest(String)
is
true.
As of Tapestry 5.4, simply returns null.url
- ${project.version} - Copyright © 2003-2015 The Apache Software Foundation.