de.laures.cewolf.util
Class RenderingHelper

java.lang.Object
  extended by de.laures.cewolf.util.RenderingHelper

public class RenderingHelper
extends java.lang.Object

Some methods to render messages or exceptions into an image.

Author:
glaures

Constructor Summary
RenderingHelper()
           
 
Method Summary
static java.awt.image.BufferedImage createImage(int width, int height)
           
static java.lang.String renderException(java.lang.Throwable ex, int width, int height, java.io.OutputStream out)
           
static java.lang.String renderMessage(java.lang.String msg, int width, int height, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderingHelper

public RenderingHelper()
Method Detail

createImage

public static java.awt.image.BufferedImage createImage(int width,
                                                       int height)

renderMessage

public static java.lang.String renderMessage(java.lang.String msg,
                                             int width,
                                             int height,
                                             java.io.OutputStream out)
                                      throws java.io.IOException
Throws:
java.io.IOException

renderException

public static java.lang.String renderException(java.lang.Throwable ex,
                                               int width,
                                               int height,
                                               java.io.OutputStream out)
                                        throws java.io.IOException
Throws:
java.io.IOException


cewolf tag library - web charts with JFreeChart