public class ImageLoaderRawPNG extends AbstractImageLoader
限定符和类型 | 字段和说明 |
---|---|
protected static org.apache.commons.logging.Log |
log
logger
|
MEDIUM_LOADING_PENALTY, NO_LOADING_PENALTY
构造器和说明 |
---|
ImageLoaderRawPNG()
Main constructor.
|
限定符和类型 | 方法和说明 |
---|---|
ImageFlavor |
getTargetFlavor()
Returns the image flavor that is returned by this ImageLoader implementation.
|
int |
getUsagePenalty()
Returns the penalty assigned to using this image loader.
|
Image |
loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
ignoreColorProfile, loadImage
public ImageFlavor getTargetFlavor()
public Image loadImage(ImageInfo info, Map hints, ImageSessionContext session) throws ImageException, IOException
info
- the image info object indicating the imagehints
- a Map of hints that can be used by implementations to customize the loading
process (may be null).session
- the session contextImageException
- if an error occurs while loading the imageIOException
- if an I/O error occurs while loading the imagepublic int getUsagePenalty()
getUsagePenalty
在接口中 ImageLoader
getUsagePenalty
在类中 AbstractImageLoader
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.