public final class GenericFileDefaultSorter extends Object
| Modifier and Type | Method and Description |
|---|---|
static Comparator<org.apache.camel.Exchange> |
sortByFileLanguage(org.apache.camel.CamelContext context,
String expression,
boolean reverse)
Returns a new sory by file language expression
|
static Comparator<org.apache.camel.Exchange> |
sortByFileLanguage(org.apache.camel.CamelContext context,
String expression,
boolean reverse,
boolean ignoreCase)
Returns a new sory by file language expression
|
static Comparator<org.apache.camel.Exchange> |
sortByFileLanguage(org.apache.camel.CamelContext context,
String expression,
boolean reverse,
boolean ignoreCase,
Comparator<org.apache.camel.Exchange> nested)
Returns a new sort by file language expression
|
public static Comparator<org.apache.camel.Exchange> sortByFileLanguage(org.apache.camel.CamelContext context, String expression, boolean reverse)
context - the camel contextexpression - the file language expressionreverse - true to reverse orderpublic static Comparator<org.apache.camel.Exchange> sortByFileLanguage(org.apache.camel.CamelContext context, String expression, boolean reverse, boolean ignoreCase)
context - the camel contextexpression - the file language expressionreverse - true to reverse orderignoreCase - ignore case if comparing stringspublic static Comparator<org.apache.camel.Exchange> sortByFileLanguage(org.apache.camel.CamelContext context, String expression, boolean reverse, boolean ignoreCase, Comparator<org.apache.camel.Exchange> nested)
context - the camel contextexpression - the file language expressionreverse - true to reverse orderignoreCase - ignore case if comparing stringsnested - nested comparator for sub group sorting, can be nullApache Camel