|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.common.utils.StringUtils
public final class StringUtils
Utils for String manipulations.
| Method Summary | |
|---|---|
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)
|
static String |
join(List<String> list,
char separator)
|
static String |
join(List<String> list,
String separator)
Joins strings from a List with an optional separator. |
static String |
join(Object[] array)
Improved versions of join method from org.apache.commons.lang.StringUtils. |
static String |
join(Object[] array,
char separator)
|
static String |
join(Object[] array,
String separator)
Improved versions of join method from org.apache.commons.lang.StringUtils. |
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 |
toHex(String string)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String toAscii(String s)
public static String join(Object[] array)
public static String join(Object[] array,
String separator)
public static String join(Object[] array,
char separator)
public static String join(List<String> list,
String separator)
List with an optional separator.
list - the list.separator - the separator.
public static String join(List<String> list)
public static String join(List<String> list,
char separator)
public static String[] split(String str,
char delimiter,
boolean trim)
public static String toHex(String string)
public static String expandVars(String expression,
Map<?,?> properties)
The variable format is ${property_key}.
expression - the expression to expandproperties - a map containing variables
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||