public class PreloaderGIF extends AbstractImagePreloader
DEFAULT_PRIORITY| Constructor and Description |
|---|
PreloaderGIF() |
| Modifier and Type | Method and Description |
|---|---|
ImageInfo |
preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e.
|
getHeader, getPrioritypublic ImageInfo preloadImage(String uri, Source src, ImageContext context) throws IOException
ImageException is only
thrown if the image is identified but some error has happened while working on the file.uri - the original (unresolved) URI of the imagesrc - a image source the image is loaded fromcontext - the context object that provides configuration informationIOException - if an I/O error occurs while preloading the imageCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.