当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
PrettyString (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
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. |
toPrettyString
public 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.