org.bootchart
Class Main
java.lang.Object
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 |
Main
public Main()
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 directoryformat
- image format (png, svg or eps)prune
- whether to prune the treefileName
- file name prefix
- Returns:
- rendered image file path
- Throws:
IOException
- if an I/O error is thrown