org.jboss.util
Interface PrettyString.Appendable

Enclosing interface:
PrettyString (src)

public static interface PrettyString.Appendable

Interface for appending the objects pretty string onto a buffer.


Method Summary
 java.lang.StringBuffer appendPrettyString(java.lang.StringBuffer buff, java.lang.String prefix)
          Appends a pretty representation of the object to the given buffer.
 

Method Detail

appendPrettyString

public java.lang.StringBuffer appendPrettyString(java.lang.StringBuffer buff,
                                                 java.lang.String prefix)
Appends a pretty representation of the object to the given buffer.

Parameters:
buff - The buffer to use while making pretty.
prefix - The string which all lines of the output must be prefixed with.
Returns:
The buffer.