public class PrettyPrint extends Object
| Constructor and Description |
|---|
PrettyPrint() |
| Modifier and Type | Method and Description |
|---|---|
static void |
print(Object o)
Prettyprint directly to the standard output.
|
static void |
print(Object o,
OutputStream outs,
boolean typeheader)
Prettyprint the object to the outputstream.
|
static void |
print(Object o,
Writer writer,
boolean typeheader)
Prettyprint the object to the writer.
|
static String |
printToStr(Object o)
Prettyprint into a string, no type header.
|
public static void print(Object o) throws IOException
IOExceptionpublic static void print(Object o, OutputStream outs, boolean typeheader) throws IOException
IOExceptionpublic static void print(Object o, Writer writer, boolean typeheader) throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.