public class PreloaderEPS extends AbstractImagePreloader
限定符和类型 | 类和说明 |
---|---|
static class |
PreloaderEPS.EPSBinaryFileHeader
Holder class for various pointers to the contents of the EPS file.
|
限定符和类型 | 字段和说明 |
---|---|
static Object |
EPS_BINARY_HEADER
Key for binary header object used in custom objects of the ImageInfo class.
|
static Object |
EPS_BOUNDING_BOX
Key for bounding box used in custom objects of the ImageInfo class.
|
DEFAULT_PRIORITY
构造器和说明 |
---|
PreloaderEPS() |
限定符和类型 | 方法和说明 |
---|---|
ImageInfo |
preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
getHeader, getPriority
public static final Object EPS_BINARY_HEADER
public static final Object EPS_BOUNDING_BOX
public ImageInfo preloadImage(String uri, Source src, ImageContext context) throws 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 informationIOException
- if an I/O error occurs while preloading the imageCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.