org.apache.wicket.request.resource.caching.version
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:
QueryStringWithVersionResourceCachingStrategy, FilenameWithVersionResourceCachingStrategy

Method Summary
 java.lang.String getVersion(IStaticCacheableResource resource)
          get unique string identifying the version of the resource
 

Method Detail

getVersion

java.lang.String getVersion(IStaticCacheableResource resource)
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


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.