Class TimeStampProvider
java.lang.Object
org.apache.xmlgraphics.image.loader.cache.TimeStampProvider
Returns time stamps for the image cache for entry expiration functionality. This functionality
is in its own class so it's easy to write a mock class for testing.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimeStampProvider
TimeStampProvider()
-
-
Method Details
-
getTimeStamp
public long getTimeStamp()Returns the current time stamp.- Returns:
- the current time stamp (the value returned follows the semantics of
System.currentTimeMillis()
)
-