planetj.util
Class HTMLWriter
java.lang.Object
java.io.Writer
planetj.util.HTMLWriter
- public class HTMLWriter
- extends java.io.Writer
- Author:
- Justin
Constructor Summary |
HTMLWriter(java.io.Writer writer)
|
Method Summary |
void |
close()
|
void |
flush()
|
static void |
printStackTrace(java.lang.Throwable t,
java.io.Writer w)
Prints the stacktrace of the Throwable object to the specified Writer in an
HTML friendly way. |
void |
write(char[] data,
int offset,
int len)
|
Methods inherited from class java.io.Writer |
write, write, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLWriter
public HTMLWriter(java.io.Writer writer)
printStackTrace
public static void printStackTrace(java.lang.Throwable t,
java.io.Writer w)
throws java.io.IOException
- Prints the stacktrace of the Throwable object to the specified Writer in an
HTML friendly way.
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(char[] data,
int offset,
int len)
throws java.io.IOException
- Throws:
java.io.IOException