org.bootchart.renderer
Class EPSRenderer
java.lang.Object
org.bootchart.renderer.Renderer
org.bootchart.renderer.ImageRenderer
org.bootchart.renderer.EPSRenderer
public class EPSRenderer
- extends ImageRenderer
EPSRenderer renders the boot chart as an EPS (encapsulated postscript)
image.
Field Summary |
static boolean |
COMPRESS_EPS
Whether to compress EPS output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPRESS_EPS
public static final boolean COMPRESS_EPS
- Whether to compress EPS output.
- See Also:
- Constant Field Values
EPSRenderer
public EPSRenderer()
render
public void render(Properties headers,
BootStats bootStats,
OutputStream os)
throws IOException
- Description copied from class:
ImageRenderer
- Render the chart.
- Overrides:
render
in class ImageRenderer
- Parameters:
headers
- header properties to include in the title bannerbootStats
- boot statisticsos
- the output stream to write t
- Throws:
IOException
- if an I/O error occurs
getFileSuffix
public String getFileSuffix()
- Description copied from class:
Renderer
- Returns the file suffix to use for the rendered image.
- Specified by:
getFileSuffix
in class ImageRenderer
- Returns:
- file suffix