public interface IResourceVersion
IStaticCacheableResource
the version string will be used as a distinguishing mark when rendering resourcesQueryStringWithVersionResourceCachingStrategy
,
FilenameWithVersionResourceCachingStrategy
Modifier and Type | Method and Description |
---|---|
String |
getVersion(IStaticCacheableResource resource)
get unique string identifying the version of the resource
|
Pattern |
getVersionPattern()
a pattern that matches returned versions
|
String getVersion(IStaticCacheableResource resource)
resource
- cacheable resourcenull
if version string could not be calculatedPattern getVersionPattern()
null
if no pattern
is availableCopyright © 2006–2022 Apache Software Foundation. All rights reserved.