org.jrobin.demo
Class Demo

java.lang.Object
  extended by org.jrobin.demo.Demo

public class Demo
extends java.lang.Object

Simple demo just to check that everything is OK with this library. Creates two files in your $HOME/jrobin-demo directory: demo.rrd and demo.png.


Constructor Summary
Demo()
           
 
Method Summary
static void main(java.lang.String[] args)
          To start the demo, use the following command:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Demo

public Demo()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws RrdException,
                        java.io.IOException

To start the demo, use the following command:

 java -cp jrobin-{version}.jar org.jrobin.demo.Demo
 

Parameters:
args - the name of the backend factory to use (optional)
Throws:
RrdException - Thrown in case of JRobin specific error
java.io.IOException - Thrown