Package | Description |
---|---|
org.apache.xmlgraphics.image.loader.cache |
Contains image caching infrastructure.
|
Modifier and Type | Field and Description |
---|---|
private TimeStampProvider |
ImageCache.timeStampProvider |
Modifier and Type | Method and Description |
---|---|
boolean |
ExpirationPolicy.isExpired(TimeStampProvider provider,
long timestamp)
Indicates whether a cache entry is expired given its creation time stamp.
|
boolean |
DefaultExpirationPolicy.isExpired(TimeStampProvider provider,
long timestamp)
Indicates whether a cache entry is expired given its creation time stamp.
|
Constructor and Description |
---|
ImageCache(TimeStampProvider timeStampProvider,
ExpirationPolicy invalidURIExpirationPolicy)
Constructor for customized behaviour and testing.
|