|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Calculates the checksum value, as a string, for a particular classpath resource. This is primarily
used by the AssetService
to authenticate requests (you are not
allowed access to a resource unless you can provide the correct checksum value).
This code is based on code from Howard Lewis Ship from the upcoming 3.1 release.
Method Summary | |
String |
getChecksum(URL resourceURL)
Returns the checksum value for the given resource. |
void |
reset()
Clears the internal cache. |
Method Detail |
public String getChecksum(URL resourceURL)
resourceURL
- the url of a resource
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |