org.jboss.util
Interface PrettyString
- public interface PrettyString
A simple interface for objects that can return pretty (ie.
prefixed) string representations of themselves.
Method Summary |
java.lang.String |
toPrettyString(java.lang.String prefix)
Returns a pretty representation of the object. |
toPrettyString
public java.lang.String toPrettyString(java.lang.String prefix)
- Returns a pretty representation of the object.
- Parameters:
prefix
- The string which all lines of the output must be prefixed with.
- Returns:
- A pretty representation of the object.