com.intersys.objects
Class ObjectDump

java.lang.Object
  extended bycom.intersys.objects.ObjectDump

public class ObjectDump
extends Object

This is a helper class to dump arbitrary Cache Object. File: ObjectDump.java
Created: Thu Aug 15 19:50:24 2002


Nested Class Summary
static interface ObjectDump.Dumper
           
static class ObjectDump.PrintStreamDumper
           
 
Constructor Summary
ObjectDump(ObjectHandle oh)
          Creates an instance of dump by a Cache Object
ObjectDump(ObjectHandle oh, ObjectDump parent)
           
 
Method Summary
 void dump(ObjectDump.Dumper out)
          Dumps the object using custom specified formatting.
 void dump(OutputStream out)
          Dumps the object content to an OutputStream using default formatting.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDump

public ObjectDump(ObjectHandle oh)
           throws CacheException
Creates an instance of dump by a Cache Object

Parameters:
oh - Cache Object to be dumped.

ObjectDump

public ObjectDump(ObjectHandle oh,
                  ObjectDump parent)
           throws CacheException
Method Detail

dump

public void dump(OutputStream out)
          throws Exception
Dumps the object content to an OutputStream using default formatting.

Parameters:
out - An OutputStream to which object is dumped
Throws:
Exception

dump

public void dump(ObjectDump.Dumper out)
          throws Exception
Dumps the object using custom specified formatting. User should implement interface ObjectDump.Dumper to format the output.

Parameters:
out - An OutputStream to which object is dumped
Throws:
Exception