|
|||||||||
| Home >> All >> de >> laures >> cewolf >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
de.laures.cewolf.util
Class RenderingHelper

java.lang.Objectde.laures.cewolf.util.RenderingHelper
- public class RenderingHelper
- extends java.lang.Object
Some methods to render messages or exceptions into an image.
| Field Summary | |
private static int |
PADDING_X
|
| Constructor Summary | |
RenderingHelper()
|
|
| Method Summary | |
private static void |
drawStackTrace(java.awt.Graphics gr,
int x,
int y,
java.lang.Throwable ex)
|
private static java.lang.String |
getStackTrace(java.lang.Throwable t)
|
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 |
| Field Detail |
PADDING_X
private static final int PADDING_X
- See Also:
- Constant Field Values
| Constructor Detail |
RenderingHelper
public RenderingHelper()
| Method Detail |
renderMessage
public static java.lang.String renderMessage(java.lang.String msg, int width, int height, java.io.OutputStream out) 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
drawStackTrace
private static void drawStackTrace(java.awt.Graphics gr, int x, int y, java.lang.Throwable ex)
getStackTrace
private static java.lang.String getStackTrace(java.lang.Throwable t)
|
|||||||||
| Home >> All >> de >> laures >> cewolf >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
de.laures.cewolf.util.RenderingHelper