public class StreamImageResolver extends Object implements ImageResolver
Constructor and Description |
---|
StreamImageResolver() |
Modifier and Type | Method and Description |
---|---|
protected Tag |
getStreamFor(String imageName) |
Handle |
resolveImage(PropertyList imageProperties,
boolean allowAnimatedImages,
Dimension maxImageSize)
Resolve the image.
|
Handle |
resolveImage(String name,
boolean allowAnimatedImages,
Dimension maxSize) |
protected Tag getStreamFor(String imageName) throws IOException
IOException
public Handle resolveImage(String name, boolean allowAnimatedImages, Dimension maxSize)
public Handle resolveImage(PropertyList imageProperties, boolean allowAnimatedImages, Dimension maxImageSize)
ImageResolver
resolveImage
in interface ImageResolver
imageProperties
- The properties for the Image. This should contain at least one property called "src".allowAnimatedImages
- If this is true then animated images will be resolved into
an AnimatedIcon.maxImageSize
- An optional limit to the size of the image returned.