org.opennms.netmgt.rrd.jrobin
Class JRobinRrdGraphDetails
java.lang.Object
org.opennms.netmgt.rrd.jrobin.JRobinRrdGraphDetails
- All Implemented Interfaces:
- org.opennms.netmgt.rrd.RrdGraphDetails
public class JRobinRrdGraphDetails
- extends java.lang.Object
- implements org.opennms.netmgt.rrd.RrdGraphDetails
Container for details from a JRobin RRD graph. Stores the same details
as RrdGraphDetails, in addition to the JRobin RrdGraph object itself and
the graph command String used to generate the graph. We keep the graph
command string around so we can generate a detailed error if
getInputStream() is called, but no graph was produced.
- Author:
- DJ Gregor
|
Constructor Summary |
JRobinRrdGraphDetails(org.jrobin.graph.RrdGraph rrdGraph,
java.lang.String graphCommand)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRobinRrdGraphDetails
public JRobinRrdGraphDetails(org.jrobin.graph.RrdGraph rrdGraph,
java.lang.String graphCommand)
getRrdGraph
public org.jrobin.graph.RrdGraph getRrdGraph()
getGraphCommand
public java.lang.String getGraphCommand()
getInputStream
public java.io.InputStream getInputStream()
throws org.opennms.netmgt.rrd.RrdException
- Specified by:
getInputStream in interface org.opennms.netmgt.rrd.RrdGraphDetails
- Throws:
org.opennms.netmgt.rrd.RrdException
getPrintLines
public java.lang.String[] getPrintLines()
- Specified by:
getPrintLines in interface org.opennms.netmgt.rrd.RrdGraphDetails
getHeight
public int getHeight()
throws org.opennms.netmgt.rrd.RrdException
- Specified by:
getHeight in interface org.opennms.netmgt.rrd.RrdGraphDetails
- Throws:
org.opennms.netmgt.rrd.RrdException
getWidth
public int getWidth()
throws org.opennms.netmgt.rrd.RrdException
- Specified by:
getWidth in interface org.opennms.netmgt.rrd.RrdGraphDetails
- Throws:
org.opennms.netmgt.rrd.RrdException
Copyright © 2007. All Rights Reserved.