org.jboss.util
Interface PrettyString


public interface PrettyString

A simple interface for objects that can return pretty (ie. prefixed) string representations of themselves.

Version:
$Revision: 1.1 $
Author:
Jason Dillon

Nested Class Summary
static interface PrettyString.Appendable
          Interface for appending the objects pretty string onto a buffer.
 
Method Summary
 String toPrettyString(String prefix)
          Returns a pretty representation of the object.
 

Method Detail

toPrettyString

String toPrettyString(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.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.