Package wt.util
Class DumpUtil
java.lang.Object
wt.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
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic ListconvertArray(long[] array) Converts the array to a list so that contents can be displayed.static ListconvertArray(Object[] array) Converts the array to a list so that contents can be displayed.static voiddump(Object object, DebugWriter writer) Dumps the contents of the passed object to the passed writer.
-
Method Details
-
dump
Dumps the contents of the passed object to the passed writer.
Supported API: true- Parameters:
object- the instance to dumpwriter- the target that will handle the ouitput being dumped
-
convertArray
Converts the array to a list so that contents can be displayed.
Supported API: true- Parameters:
array- the instance to convert
-
convertArray
Converts the array to a list so that contents can be displayed.
Supported API: true- Parameters:
array- the instance to convert
-