public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
expandVars(String expression,
Map<?,?> properties)
Expands any variable found in the given expression with the values in the given map.
|
static String |
join(List<String> list)
Deprecated.
since 5.7, use
org.apache.commons.lang.StringUtils#join(java.util.Collection, null) instead |
static String |
join(List<String> list,
char separator)
Deprecated.
since 5.7, use
StringUtils.join(java.util.Collection, char) instead |
static String |
join(List<String> list,
String separator)
Deprecated.
since 5.7, use
StringUtils.join(java.util.Collection, String) instead |
static String |
join(Object[] array)
Deprecated.
since 5.7, use
StringUtils.join(Object[]) instead |
static String |
join(Object[] array,
char separator)
Deprecated.
since 5.7, use
StringUtils.join(Object[], char) instead |
static String |
join(Object[] array,
String separator)
Deprecated.
since 5.7, use
StringUtils.join(Object[], String) instead |
static String[] |
split(String str,
char delimiter,
boolean trim) |
static String |
toAscii(String s)
Replaces accented characters from a non-null String by their ascii equivalent.
|
static String |
toAscii(String s,
boolean normalize)
Replaces accented characters from a non-null String by their ascii equivalent.
|
static String |
toHex(String string)
Deprecated.
since 5.7, use
Hex.encodeHexString(byte[]) instead |
public static String toAscii(String s, boolean normalize)
normalize
- if true, normalize the string using NFCpublic static String toAscii(String s)
@Deprecated public static String join(Object[] array)
StringUtils.join(Object[])
instead@Deprecated public static String join(Object[] array, String separator)
StringUtils.join(Object[], String)
instead@Deprecated public static String join(Object[] array, char separator)
StringUtils.join(Object[], char)
instead@Deprecated public static String join(List<String> list, String separator)
StringUtils.join(java.util.Collection, String)
insteadList
with an optional separator into a single String containing the
provided elements.@Deprecated public static String join(List<String> list)
org.apache.commons.lang.StringUtils#join(java.util.Collection, null)
insteadList
into a single String containing the provided elements.@Deprecated public static String join(List<String> list, char separator)
StringUtils.join(java.util.Collection, char)
insteadList
with an optional separator into a single String containing the
provided elements.@Deprecated public static String toHex(String string)
Hex.encodeHexString(byte[])
insteadCopyright © 2015 Nuxeo SA. All rights reserved.