ImagePreloader
public class PreloaderRawPNG extends AbstractImagePreloader
DEFAULT_PRIORITY
Constructor | Description |
---|---|
PreloaderRawPNG() |
Modifier and Type | Method | Description |
---|---|---|
int |
getPriority() |
Returns the priority of the preloader.
|
ImageInfo |
preloadImage(java.lang.String uri,
javax.xml.transform.Source src,
ImageContext context) |
"Preloads" an image, i.e.
|
getHeader
public ImageInfo preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context) throws ImageException, java.io.IOException
ImagePreloader
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 informationImageException
- if an error occurs while preloading the imagejava.io.IOException
- if an I/O error occurs while preloading the imagepublic int getPriority()
AbstractImagePreloader
getPriority
in interface ImagePreloader
getPriority
in class AbstractImagePreloader
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.