|
xmlgraphics-commons 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImagePreloader
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 |
---|
static final int DEFAULT_PRIORITY
Method Detail |
---|
ImageInfo preloadImage(java.lang.String originalURI, javax.xml.transform.Source src, ImageContext context) throws ImageException, java.io.IOException
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 imageint getPriority()
|
xmlgraphics-commons 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |