Modifier and Type | Field and Description |
---|---|
static String |
ANY |
static String |
COMMA |
static String |
DASH |
static String |
DOT |
static String |
EMPTY |
static String |
FILE_SEPARATOR |
static String |
HA_JDBC_HOME |
static String |
NEW_LINE |
static String |
PADDED_COMMA |
static String |
PATH_SEPARATOR |
static String |
QUESTION |
static String |
TAB |
static String |
UNDERSCORE |
static String |
USER_HOME |
Modifier and Type | Method and Description |
---|---|
static String |
join(Collection<String> collection,
String delimiter)
Performs the reverse of a split operation, joining the elements of the specified collection using the specified delimiter.
|
static String |
join(String[] strings,
String delimiter)
Performs the reverse of a split operation, joining the elements of the specified collection using the specified delimiter.
|
static StringBuilder |
join(StringBuilder builder,
Collection<String> collection,
String delimiter)
Performs the reverse of a split operation, joining the elements of the specified collection using the specified delimiter.
|
static StringBuilder |
join(StringBuilder builder,
String[] strings,
String delimiter)
Performs the reverse of a split operation, joining the elements of the specified collection using the specified delimiter.
|
public static final String ANY
public static final String COMMA
public static final String DASH
public static final String DOT
public static final String EMPTY
public static final String PADDED_COMMA
public static final String QUESTION
public static final String UNDERSCORE
public static final String TAB
public static final String FILE_SEPARATOR
public static final String PATH_SEPARATOR
public static final String HA_JDBC_HOME
public static StringBuilder join(StringBuilder builder, Collection<String> collection, String delimiter)
collection
- a collection of stringsdelimiter
- a string to insert between each collection elementpublic static String join(Collection<String> collection, String delimiter)
collection
- a collection of stringsdelimiter
- a string to insert between each collection elementpublic static String join(String[] strings, String delimiter)
strings
- an array of stringsdelimiter
- a string to insert between each array elementpublic static StringBuilder join(StringBuilder builder, String[] strings, String delimiter)
strings
- an array of stringsdelimiter
- a string to insert between each array elementCopyright © 2004–2014 Paul Ferraro. All rights reserved.