AbstractImagePreloader
, PreloaderBMP
, PreloaderEMF
, PreloaderEPS
, PreloaderGIF
, PreloaderImageIO
, PreloaderJPEG
, PreloaderRawPNG
, PreloaderTIFF
public interface ImagePreloader
Modifier and Type | Field | Description |
---|---|---|
static int |
DEFAULT_PRIORITY |
Default priority for preloaders
|
Modifier and Type | Method | Description |
---|---|---|
int |
getPriority() |
Returns the priority of the preloader.
|
ImageInfo |
preloadImage(java.lang.String originalURI,
javax.xml.transform.Source src,
ImageContext context) |
"Preloads" an image, i.e.
|
static final int DEFAULT_PRIORITY
ImageInfo preloadImage(java.lang.String originalURI, javax.xml.transform.Source src, ImageContext context) throws ImageException, java.io.IOException
ImageException
is only
thrown if the image is identified but some error has happened while working on the file.originalURI
- the original (unresolved) URI of the imagesrc
- a image source the image is loaded fromcontext
- the context object that provides configuration informationImageException
- if an error occurs while preloading the imagejava.io.IOException
- if an I/O error occurs while preloading the imageint getPriority()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.