public class PreloaderRawPNG extends AbstractImagePreloader
DEFAULT_PRIORITY
构造器和说明 |
---|
PreloaderRawPNG() |
限定符和类型 | 方法和说明 |
---|---|
int |
getPriority()
Returns the priority of the preloader.
|
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
public ImageInfo preloadImage(String uri, Source src, ImageContext context) throws ImageException, IOException
ImagePreloader
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 informationImageException
- if an error occurs while preloading the imageIOException
- if an I/O error occurs while preloading the imagepublic int getPriority()
AbstractImagePreloader
getPriority
在接口中 ImagePreloader
getPriority
在类中 AbstractImagePreloader
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.