Package org.bootchart.renderer
Class Renderer
java.lang.Object
org.bootchart.renderer.Renderer
- Direct Known Subclasses:
ImageRenderer,SVGRenderer
Renderable is a common interface for different boot chart renderers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturns 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.
-
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 bannerbootStats- boot statisticsos- the output stream to write to- Throws:
IOException- if an I/O error occurs
-
getFileSuffix
Returns the file suffix to use for the rendered image.- Returns:
- file suffix
-