@ThreadSafe public final class ImageDataManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static EChange |
clearCache()
Remove all cached elements
|
static EChange |
clearCachedSize(IReadableResource aRes)
Remove a single resource from the cache.
|
static Map<IReadableResource,ScalableSize> |
getAllCachedSizes() |
static Set<IReadableResource> |
getAllNotExistingResources() |
static ScalableSize |
getImageSize(IReadableResource aRes) |
@Nullable public static ScalableSize getImageSize(@Nullable IReadableResource aRes)
@Nonnull public static EChange clearCachedSize(@Nullable IReadableResource aRes)
aRes - The resource to be removed. May be null.null.@Nonnull public static EChange clearCache()
EChange - never null@Nonnull @ReturnsMutableCopy public static Map<IReadableResource,ScalableSize> getAllCachedSizes()
@Nonnull @ReturnsMutableCopy public static Set<IReadableResource> getAllNotExistingResources()
Copyright © 2014–2015 Philip Helger. All rights reserved.