org.bootchart
Class Main

java.lang.Object
  extended by org.bootchart.Main

public class Main
extends Object

Bootchart main class.


Constructor Summary
Main()
           
 
Method Summary
static void main(String[] args)
          Main.
static String render(File logFile, String format, boolean prune, String fileName)
          Parses the bootchart log tarball from the log tarball or directory and renders the chart to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main.

Parameters:
args - command arguments
Throws:
Exception - if an error occurs

render

public static String render(File logFile,
                            String format,
                            boolean prune,
                            String fileName)
                     throws IOException
Parses the bootchart log tarball from the log tarball or directory and renders the chart to the output stream.

Parameters:
logFile - log tarball or directory
format - image format (png, svg or eps)
prune - whether to prune the tree
fileName - file name prefix
Returns:
rendered image file path
Throws:
IOException - if an I/O error is thrown