Class Dumpable

java.lang.Object
org.jpos.util.Dumpable
All Implemented Interfaces:
Loggeable

public class Dumpable extends Object implements Loggeable
A Loggeable wrapper around a named byte array payload.
  • Constructor Details

    • Dumpable

      public Dumpable(String name, byte[] payload)
      Creates a Dumpable with the given name and payload.
      Parameters:
      name - the label name
      payload - the raw byte payload
  • Method Details

    • dump

      public void dump(PrintStream p, String indent)
      Description copied from interface: Loggeable
      Dumps a human-readable representation of this object to the print stream.
      Specified by:
      dump in interface Loggeable
      Parameters:
      p - the output stream
      indent - indentation prefix