ImagePreloaderpublic class PreloaderEPS extends AbstractImagePreloader
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PreloaderEPS.EPSBinaryFileHeader |
Holder class for various pointers to the contents of the EPS file.
|
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.Object |
EPS_BINARY_HEADER |
Key for binary header object used in custom objects of the ImageInfo class.
|
static java.lang.Object |
EPS_BOUNDING_BOX |
Key for bounding box used in custom objects of the ImageInfo class.
|
DEFAULT_PRIORITY| Constructor | Description |
|---|---|
PreloaderEPS() |
| Modifier and Type | Method | Description |
|---|---|---|
ImageInfo |
preloadImage(java.lang.String uri,
javax.xml.transform.Source src,
ImageContext context) |
"Preloads" an image, i.e.
|
getHeader, getPrioritypublic static final java.lang.Object EPS_BINARY_HEADER
public static final java.lang.Object EPS_BOUNDING_BOX
public ImageInfo preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context) throws java.io.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 informationjava.io.IOException - if an I/O error occurs while preloading the imageCopyright 1999-2018 The Apache Software Foundation. All Rights Reserved.