org.opennms.secret.service.impl
Class GraphRendererImpl
java.lang.Object
org.opennms.secret.service.impl.GraphRendererImpl
- All Implemented Interfaces:
- GraphRenderer
public class GraphRendererImpl
- extends Object
- implements GraphRenderer
This is an implimentation of the GraphRender which uses jrobin
to generate the PNG file from the supplied graph definition
- Author:
- mhuot
|
Field Summary |
static int |
GIF
|
static int |
JPG
|
static int |
PNG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GIF
public static final int GIF
- See Also:
- Constant Field Values
JPG
public static final int JPG
- See Also:
- Constant Field Values
PNG
public static final int PNG
- See Also:
- Constant Field Values
GraphRendererImpl
public GraphRendererImpl()
getPNG
public ByteArrayInputStream getPNG(GraphDefinition gdef)
throws IOException,
org.jrobin.core.RrdException
- Specified by:
getPNG in interface GraphRenderer
- Throws:
IOException
org.jrobin.core.RrdException
getJPEG
public ByteArrayInputStream getJPEG(GraphDefinition gdef)
throws IOException,
org.jrobin.core.RrdException
- Throws:
IOException
org.jrobin.core.RrdException
getGIF
public ByteArrayInputStream getGIF(GraphDefinition gdef)
throws IOException,
org.jrobin.core.RrdException
- Throws:
IOException
org.jrobin.core.RrdException
getGraphImage
public ByteArrayInputStream getGraphImage(GraphDefinition gdef)
Copyright © 2009. All Rights Reserved.