|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.image.cache.FileSystemImageCache
FileSystemImageCache is an ImageProvider implementation which caches images on the file system. Since the FileSystemImageCache are fairly expensive objects to create, FileSystemImageCache instances are shared across applications in the same VM. Clients can access the shared FileSystemImageCache instance for a particular file system cache location via the getSharedCache method.
ImageProvider
Constructor Summary | |
protected |
FileSystemImageCache(java.lang.String realPath)
Creates a FileSystemImageCache. |
Method Summary | |
ImageProviderResponse |
getImage(ImageContext context,
ImageProviderRequest request)
Implementation of ImageCache.getImage(). |
static ImageProvider |
getSharedCache(java.lang.String realPath)
Returns a shared cache instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected FileSystemImageCache(java.lang.String realPath)
realPath
- The real path of the root directory of the cache. If the
specified path does not exist and can not be created, and
IllegalArgumentException is thrown.Method Detail |
public static ImageProvider getSharedCache(java.lang.String realPath)
realPath
- The real path of the root directory of the cache. If the
specified path does not exist and can not be created, and
IllegalArgumentException is thrown.public ImageProviderResponse getImage(ImageContext context, ImageProviderRequest request)
getImage
in interface ImageProvider
ImageProvider.getImage(oracle.cabo.image.ImageContext, oracle.cabo.image.ImageProviderRequest)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |