|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echoservlet.util.Delimiter
public class Delimiter
Converts arrays to Strings, adding a specified delimiter between
elements.
| Method Summary | |
|---|---|
static java.lang.String |
toString(java.util.Collection collection,
java.lang.String delimiter)
Returns the contents of an Collection as a
String, adding the specified delimiter between elements. |
static java.lang.String |
toString(java.lang.Object[] array,
java.lang.String delimiter)
Returns the contents of an array as a String, adding the
specified delimiter between elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String toString(java.lang.Object[] array,
java.lang.String delimiter)
String, adding the
specified delimiter between elements.
array - The array to be converted.delimiter - The delimiter to be added between array elements.
String containing the elements of the array
delimited by the specified delimiter.
public static java.lang.String toString(java.util.Collection collection,
java.lang.String delimiter)
Collection as a
String, adding the specified delimiter between elements.
collection - The collection to be converted.delimiter - The delimiter to be added between objects in the
Collection.
String containing the elements of the
Collection delimited by the specified delimiter.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||