com.mysql.management.util
Class ListToString

java.lang.Object
  extended by com.mysql.management.util.ListToString

public final class ListToString
extends java.lang.Object

This class is final simply as a hint to the compiler, it may be un-finalized safely.

Version:
$Id: Str.java,v 1.11 2005/08/31 01:21:16 eherman Exp $
Author:
Eric Herman

Constructor Summary
ListToString()
           
ListToString(java.lang.String prefix, java.lang.String separator, java.lang.String postfix)
           
 
Method Summary
 java.lang.String toString(java.util.Collection objs)
          returns the contentents of the collection as a string a collections with "a", "b", null, and new Integer(1) would return: {[a][b][null][1]}
 java.lang.String toString(java.util.Map map)
           
 java.lang.String toString(java.lang.Object obj)
           
 java.lang.String toString(java.lang.Object[] objs)
          returns the contentents of the collection as a string a collections with "a", "b", null, and new Integer(1) would return: {[a][b][null][1]}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListToString

public ListToString()

ListToString

public ListToString(java.lang.String prefix,
                    java.lang.String separator,
                    java.lang.String postfix)
Method Detail

toString

public java.lang.String toString(java.lang.Object[] objs)
returns the contentents of the collection as a string a collections with "a", "b", null, and new Integer(1) would return: {[a][b][null][1]}


toString

public java.lang.String toString(java.util.Map map)

toString

public java.lang.String toString(java.util.Collection objs)
returns the contentents of the collection as a string a collections with "a", "b", null, and new Integer(1) would return: {[a][b][null][1]}

Parameters:
objs - collection
prefix -
separator -
postfix -
Returns:
the contentents of the collection as a string

toString

public java.lang.String toString(java.lang.Object obj)


Copyright © 2004-2011. All Rights Reserved.