public interface BufferedImageCache
BufferedImageCacheinterface defines a cache that is supposed to cache BufferedImages which are intended to be used more than once very quickly (e.g. Asset import). The impl. must make sure that the cache won't take too much memory from the overall jvm memory "pool" and that images won't life for ages in the cache.
|Modifier and Type||Interface and Description|
BufferedImageCache.Entry getImage(Rendition rendition, AssetHandler handler) throws java.io.IOException
This method always returns a copy of the buffered image. Returns null if param rendition is null.
rendition- of the image.
handler- the asset handler that will load the image if not in cache.
BufferedImageCache.Entry.release()if they are done using the buffered image in order to free system resources.
java.io.IOException- if an error occurs
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"