Module org.apache.wicket.core
Interface IResourceVersion
- All Known Implementing Classes:
CachingResourceVersion
,LastModifiedResourceVersion
,MessageDigestResourceVersion
,RequestCycleCachedResourceVersion
,StaticResourceVersion
public interface IResourceVersion
Provides a version string for a cacheable resource specified by
IStaticCacheableResource
the version string will be used as a distinguishing mark when rendering resources- Since:
- 1.5
- Author:
- Peter Ertl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetVersion
(IStaticCacheableResource resource) get unique string identifying the version of the resourcea pattern that matches returned versions
-
Method Details
-
getVersion
get unique string identifying the version of the resource- Parameters:
resource
- cacheable resource- Returns:
- unique version string or
null
if version string could not be calculated
-
getVersionPattern
a pattern that matches returned versions- Returns:
- a pattern or
null
if no pattern is available
-