Class Renderer

java.lang.Object
org.bootchart.renderer.Renderer
Direct Known Subclasses:
ImageRenderer, SVGRenderer

public abstract class Renderer extends Object
Renderable is a common interface for different boot chart renderers.
  • Constructor Details

    • Renderer

      public Renderer()
  • Method Details

    • render

      public abstract void render(Properties headers, BootStats bootStats, OutputStream os) throws IOException
      Render the chart and output to an output stream.
      Parameters:
      headers - header properties to include in the title banner
      bootStats - boot statistics
      os - the output stream to write to
      Throws:
      IOException - if an I/O error occurs
    • getFileSuffix

      public abstract String getFileSuffix()
      Returns the file suffix to use for the rendered image.
      Returns:
      file suffix