Interface ResourceData

All Known Subinterfaces:
ResourceBundleData
All Known Implementing Classes:
AbstractResourceData, CachingResourceBundleData, CachingResourceData, ClassloaderResourceData, FileObjectResourceData, FileResourceData, RawResourceData, URLResourceData, ZipResourceData

public interface ResourceData
A resource data object encapsulates the raw data of an resource at a given point in the past.

Any change to the resource increases the version number. Version numbers are not needed to be checked regulary, but must be checked on each call to 'getVersion()'.

This definitly does *not* solve the problem of concurrent modifications; if you need to be sure that the resource has not been altered between the last call to 'getVersion' and 'getResource..' external locking mechanism have to be implemented.

Author:
Thomas Morgner