org.faceless.graph2
Class GraphTool

java.lang.Object
  extended by org.faceless.graph2.GraphTool

public class GraphTool
extends Object

This class is the main class if the Jar is run directly. It takes the list of files as arguments, and converts each one in turn to an image containing the equivalent graph.

The format of the image may be controlled by the --format argument and the background color set with the "--bg" argument. Input files are specified as filenames, URL's or the value "-", which will read the XML from stdin and write to stdout. The "-q" option will supress the file creation information written to stderr.

Example Usage:

 java -jar bfograph.jar xml/*.xml
 java -jar bfograph.jar http://big.faceless.org/products/graph/test.xml
 java -jar bfograph.jar --format=svg --bg=#FFEEEE test.xml
 java -jar bfograph.jar --format=png256 - < input.xml > output.png
 

Since:
2.3.5

Constructor Summary
GraphTool()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphTool

public GraphTool()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2001-2011 Big Faceless Organization