public class ContentVersionStrategy extends AbstractVersionStrategy
VersionStrategy that calculates an Hex MD5 hashes from the content
 of the resource and appends it to the file name, e.g.
 "styles/main-e36d2e05253c6c7085a91522ce43a0b4.css".VersionResourceResolverAbstractVersionStrategy.FileNameVersionPathStrategy, AbstractVersionStrategy.PrefixVersionPathStrategylogger| Constructor and Description | 
|---|
ContentVersionStrategy()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getResourceVersion(Resource resource)
Determine the version for the given resource. 
 | 
addVersion, extractVersion, getVersionPathStrategy, removeVersionpublic String getResourceVersion(Resource resource)
VersionStrategyresource - the resource to checknull)