|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.DumpUtil
This class provides a general method that will use reflection to dump
the contents, or state, of a given object.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Constructor Summary | |
DumpUtil()
|
Method Summary | |
static List |
convertArray(long[] array)
Converts the array to a list so that contents can be displayed. |
static List |
convertArray(Object[] array)
Converts the array to a list so that contents can be displayed. |
static void |
dump(Object object,
DebugWriter writer)
Dumps the contents of the passed object to the passed writer. |
static void |
dumpMemoryStatistics(DebugWriter writer)
Reports memory statistics to the specified DebugWriter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public DumpUtil()
Method Detail |
public static void dump(Object object, DebugWriter writer)
object
- the instance to dumpwriter
- the target that will handle the ouitput being dumpedpublic static void dumpMemoryStatistics(DebugWriter writer)
public static List convertArray(Object[] array)
array
- the instance to convertpublic static List convertArray(long[] array)
array
- the instance to convert
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |