org.bootchart.renderer

Class Renderer

public abstract class Renderer extends Object

Renderable is a common interface for different boot chart renderers.
Method Summary
abstract StringgetFileSuffix()
Returns the file suffix to use for the rendered image.
abstract voidrender(Properties headers, BootStats bootStats, OutputStream os)
Render the chart and output to an output stream.

Method Detail

getFileSuffix

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

Returns: file suffix

render

public abstract void render(Properties headers, BootStats bootStats, OutputStream os)
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