com.sun.appserv.management.util.stringifier
Class CollectionStringifier
java.lang.Object
com.sun.appserv.management.util.stringifier.CollectionStringifier
- All Implemented Interfaces:
- Stringifier
public class CollectionStringifier
- extends Object
- implements Stringifier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final CollectionStringifier DEFAULT
mDelim
public final String mDelim
mElementStringifier
public final Stringifier mElementStringifier
CollectionStringifier
public CollectionStringifier(String delim)
CollectionStringifier
public CollectionStringifier(Stringifier elementStringifier)
CollectionStringifier
public CollectionStringifier(String delim,
Stringifier elementStringifier)
stringify
public String stringify(Object o)
- Description copied from interface:
Stringifier
- Produce a String representation of an object. The actual output has no
other semantics; each Stringifier may choose to target a particular type
of user.
The resulting String should be suitable for display to a user.
- Specified by:
stringify
in interface Stringifier
- Parameters:
o
- the Object for which a String should be produced
toString
public static String toString(Object o,
String delim)
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.