public class PrettyPrinter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
RECURSE_DEPTH
How far we will recurse.
|
Constructor and Description |
---|
PrettyPrinter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
printObject(java.lang.Object object,
java.lang.Class<?> start,
java.lang.Class<?> stop)
Print the content of an object.
|
static java.lang.String |
printObject(java.lang.Object object,
java.lang.Class<?> start,
java.lang.Class<?> stop,
int hierachyDepth)
Print the content of an object.
|
public static final int RECURSE_DEPTH
public static java.lang.String printObject(java.lang.Object object, java.lang.Class<?> start, java.lang.Class<?> stop) throws java.lang.IllegalAccessException
object
- - the object to serialize.stop
- - superclass that will stop the process.java.lang.IllegalAccessException
public static java.lang.String printObject(java.lang.Object object, java.lang.Class<?> start, java.lang.Class<?> stop, int hierachyDepth) throws java.lang.IllegalAccessException
object
- - the object to serialize.stop
- - superclass that will stop the process.java.lang.IllegalAccessException