org.opennms.netmgt.rrd.rrdtool
Class JniGraphDetails

java.lang.Object
  extended by org.opennms.netmgt.rrd.rrdtool.JniGraphDetails
All Implemented Interfaces:
RrdGraphDetails

public class JniGraphDetails
extends Object
implements RrdGraphDetails

JniGraphDetails class.

Version:
$Id: $
Author:
Alejandro Galue

Constructor Summary
JniGraphDetails(int height, int width, String[] lines, InputStream stream)
          Constructor for JniGraphDetails.
 
Method Summary
 int getHeight()
          getHeight
 InputStream getInputStream()
          getInputStream
 String[] getPrintLines()
          getPrintLines
 int getWidth()
          getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JniGraphDetails

public JniGraphDetails(int height,
                       int width,
                       String[] lines,
                       InputStream stream)

Constructor for JniGraphDetails.

Parameters:
height - a int.
width - a int.
lines - an array of String objects.
stream - a InputStream object.
Method Detail

getHeight

public int getHeight()
              throws RrdException

getHeight

Specified by:
getHeight in interface RrdGraphDetails
Returns:
a int.
Throws:
RrdException - if any.

getInputStream

public InputStream getInputStream()
                           throws RrdException

getInputStream

Specified by:
getInputStream in interface RrdGraphDetails
Returns:
a InputStream object.
Throws:
RrdException - if any.

getPrintLines

public String[] getPrintLines()
                       throws RrdException

getPrintLines

Specified by:
getPrintLines in interface RrdGraphDetails
Returns:
an array of String objects.
Throws:
RrdException - if any.

getWidth

public int getWidth()
             throws RrdException

getWidth

Specified by:
getWidth in interface RrdGraphDetails
Returns:
a int.
Throws:
RrdException - if any.


Copyright © 2011. All Rights Reserved.