|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.util.stringifier.ArrayStringifier
public final class ArrayStringifier
Stringifies an array, using an optional array element Stringifier
Field Summary | |
---|---|
static ArrayStringifier |
DEFAULT
|
Constructor Summary | |
---|---|
ArrayStringifier()
|
|
ArrayStringifier(boolean addBraces)
|
|
ArrayStringifier(String delim)
|
|
ArrayStringifier(String delim,
boolean addBraces)
|
|
ArrayStringifier(Stringifier elementStringifier)
|
|
ArrayStringifier(String delim,
Stringifier elementStringifier)
|
|
ArrayStringifier(String delim,
Stringifier elementStringifier,
boolean addBraces)
|
Method Summary | |
---|---|
String |
stringify(Object o)
Produce a String representation of an object. |
static String |
stringify(Object[] o,
String delim)
Static variant when direct call will suffice. |
static String |
stringify(Object[] o,
String delim,
Stringifier stringifier)
Static variant when direct call will suffice. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ArrayStringifier DEFAULT
Constructor Detail |
---|
public ArrayStringifier()
public ArrayStringifier(boolean addBraces)
public ArrayStringifier(String delim)
public ArrayStringifier(String delim, boolean addBraces)
public ArrayStringifier(Stringifier elementStringifier)
public ArrayStringifier(String delim, Stringifier elementStringifier)
public ArrayStringifier(String delim, Stringifier elementStringifier, boolean addBraces)
Method Detail |
---|
public String stringify(Object o)
Stringifier
The resulting String should be suitable for display to a user.
stringify
in interface Stringifier
o
- the Object for which a String should be producedpublic static String stringify(Object[] o, String delim, Stringifier stringifier)
public static String stringify(Object[] o, String delim)
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.