org.openbp.common.dump
Interface Dumpable


public interface Dumpable

Determines that an object can dump itself to an output writer. This is used for debugging and logging purposes in conjunction with the Dumper class.
Any i/o exceptions that might occur must be caught by the dump methods.

Author:
Heiko Erhardt

Method Summary
 void dump(java.io.Writer writer)
          Dumps the object to an output.
 void dump(java.io.Writer writer, int indent)
          Dumps the object to an output.
 

Method Detail

dump

void dump(java.io.Writer writer)
Dumps the object to an output.

Parameters:
writer - Writer object to use for output generation

dump

void dump(java.io.Writer writer,
          int indent)
Dumps the object to an output.

Parameters:
writer - Writer object to use for output generation
indent - Indentation level (0 = no indentation)


Copyright © 2011. All Rights Reserved.