Package org.bootchart

Class Main

java.lang.Object
org.bootchart.Main

public class Main extends Object
Bootchart main class.
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • 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