org.openorb.util
Class ObjectDumper

java.lang.Object
  |
  +--org.openorb.util.ObjectDumper

public class ObjectDumper
extends Object

This class has the ability to dump a run-time object onto a PrintStream.


Constructor Summary
ObjectDumper(Object obj)
          Create a object dumper with the target object
 
Method Summary
 void dumpAll(PrintStream stream)
          Dump all information
 void dumpClass(PrintStream stream)
          Dump the class information
 void dumpConstructors(PrintStream stream)
          Dump the constructor information
 void dumpFields(PrintStream stream)
          Dump the field information
 void dumpMethods(PrintStream stream)
          Dump the method information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDumper

public ObjectDumper(Object obj)
Create a object dumper with the target object
Parameters:
obj - The target object
Method Detail

dumpClass

public void dumpClass(PrintStream stream)
Dump the class information
Parameters:
stream - The stream which the information should be dumped upon

dumpConstructors

public void dumpConstructors(PrintStream stream)
Dump the constructor information
Parameters:
stream - The stream which the information should be dumped upon

dumpFields

public void dumpFields(PrintStream stream)
Dump the field information
Parameters:
stream - The stream which the information should be dumped upon

dumpMethods

public void dumpMethods(PrintStream stream)
Dump the method information
Parameters:
stream - The stream which the information should be dumped upon

dumpAll

public void dumpAll(PrintStream stream)
Dump all information
Parameters:
stream - The stream which the information should be dumped upon