public class DslUtil extends Object
Constructor and Description |
---|
DslUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getFormattedList(List<?> list,
String expression) |
static String |
getFormattedList(List<?> list,
String expression,
boolean useComma,
boolean useBrackets) |
static String |
getStringList(List<?> list)
List the toString out put of the objects in the List comma separated.
|
static String |
getStringList(List<?> list,
boolean useComma,
boolean useBrackets) |
static String |
getStringList(List<?> list,
boolean useComma,
boolean useBrackets,
String comma)
List the toString out put of the objects in the List that can be comma
separated.
|
static String |
orderByToString(boolean oracleSiblings,
List<OrderByElement> orderByElements) |
static String |
orderByToString(List<OrderByElement> orderByElements) |
public static String orderByToString(List<OrderByElement> orderByElements)
public static String orderByToString(boolean oracleSiblings, List<OrderByElement> orderByElements)
public static String getFormattedList(List<?> list, String expression, boolean useComma, boolean useBrackets)
public static String getStringList(List<?> list)
The same as getStringList(list, true, false)
list
- list of objects with toString methodsgetStringList(List, boolean, boolean)
public static String getStringList(List<?> list, boolean useComma, boolean useBrackets, String comma)
list
- list of objects with toString methodsuseComma
- true if the list has to be comma separateduseBrackets
- true if the list has to be enclosed in bracketsCopyright © 2006–2018 TinyGroup. All rights reserved.