|
xmlgraphics-commons 1.4 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides two functions: determining whether an image format is supported and if that's the case, some minimal information (mostly the image's intrinsic size) is extracted and returned.
Field Summary | |
static int |
DEFAULT_PRIORITY
Default priority for preloaders |
Method Summary | |
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. |
Field Detail |
public static final int DEFAULT_PRIORITY
Method Detail |
public 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 information
ImageException
- if an error occurs while preloading the image
java.io.IOException
- if an I/O error occurs while preloading the imagepublic int getPriority()
|
xmlgraphics-commons 1.4 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |