org.apache.xmlgraphics.image.loader.impl
public class PreloaderBMP extends AbstractImagePreloader
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BMP_SIG_LENGTH
Length of the BMP header
|
DEFAULT_PRIORITY| Constructor and Description |
|---|
PreloaderBMP() |
| Modifier and Type | Method and Description |
|---|---|
ImageInfo |
preloadImage(java.lang.String uri,
javax.xml.transform.Source src,
ImageContext context)
"Preloads" an image, i.e.
|
getHeader, getPriorityprotected static final int BMP_SIG_LENGTH
public ImageInfo preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context) throws java.io.IOException, ImageException
uri - the original (unresolved) URI of the imagesrc - a image source the image is loaded fromcontext - the context object that provides configuration informationjava.io.IOException - if an I/O error occurs while preloading the imageImageException - if an error occurs while preloading the imageCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.