java.lang.Object
org.rrd4j.graph.RrdGraphDef.UrlImageSource
- All Implemented Interfaces:
RrdGraphDef.ImageSource
- Enclosing class:
RrdGraphDef
UrlImageSource class.
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionapply(int w, int h) Decode the image at the URL into a BufferedImage.
Field Details
imagesource
The image URL to embed.
Constructor Details
UrlImageSource
Names the image URL to embed.- Parameters:
imagesource- where the image is
Method Details
apply
Decode the image at the URL into a BufferedImage.- Specified by:
applyin interfaceRrdGraphDef.ImageSource- Parameters:
w- the width of the requested imageh- the high of the requested image- Returns:
- an image to draw.
- Throws:
IOException- if an error occurs during image reading or generation