|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceDigestGenerator
Responsible for determining which classpath resources require checksums, and for generating checksums for such resources.
ClasspathResource,
ClasspathAssetFactory| Method Summary | |
|---|---|
String |
generateDigest(URL url)
Reads the content of a URL (presumably, for a resource on the classpath) and generates a digest of its content. |
boolean |
requiresDigest(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. |
| Method Detail |
|---|
boolean requiresDigest(String path)
Resource style, without a leading slash.
String generateDigest(URL url)
requiresDigest(String) is
true.
url -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||