com.intersys.objects
Class ObjectDump
java.lang.Object
com.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
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. |
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
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