de.laures.cewolf.util
Class RenderingHelper

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

public class RenderingHelper
extends Object

Some methods to render messages or exceptions into an image.

Author:
glaures

Constructor Summary
RenderingHelper()
           
 
Method Summary
static String renderException(Throwable ex, int width, int height, OutputStream out)
           
static String renderMessage(String msg, int width, int height, 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

renderMessage

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

renderException

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


Copyright © 2012. All Rights Reserved.