public class CollectionUtils
extends java.lang.Object
This is a stripped down copy of Ant 1.8.2's version so the .NET Antlib can still be used with Ant 1.7.0.
Constructor and Description |
---|
CollectionUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
flattenToString(java.util.Collection c)
Creates a comma separated list of all values held in the given
collection.
|
static java.lang.String |
flattenToString(java.util.Collection c,
java.lang.String sep)
Creates a list of all values held in the given collection
separated by the given separator.
|
public static java.lang.String flattenToString(java.util.Collection c)
public static java.lang.String flattenToString(java.util.Collection c, java.lang.String sep)