oracle.cabo.image
Interface ImageProvider
- All Known Implementing Classes:
- FileSystemImageCache
- public interface ImageProvider
The ImageProvider interface provides access to a set of images. Images are requested via the getImage() method. getImage() takes a number of arguments which describe the requested image, including an ImageProviderRequest object. It returns an ImageProviderResponse which can be used to access the requested image's URI.
- See Also:
ImageProviderRequest
, ImageProviderResponse
, ImageType
, ImageTypeManager
getImage
public ImageProviderResponse getImage(ImageContext context,
ImageProviderRequest request)
- Looks up an image based on a set of requested properties. If the requested image exists (or can be created), the ImageProvider returns an response object which specified information about the requested image, such as its URI.
-
- Parameters:
context
- The context object
request
- The request object is used to accesss the properties of the requested image.
- Returns:
- Returns an ImageProviderResponse object which indicates the location of the image, among other information.
- See Also:
ImageContext
, ImageProviderRequest
, ImageProviderResponse