|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.StringQuoteHelper
public final class StringQuoteHelper
Utility class for parsing quoted string which is intended for parameters, separated by comma.
| Method Summary | |
|---|---|
static String[] |
splitSafeQuote(String input,
char separator)
Splits the input safely honoring if values is enclosed in quotes. |
static String[] |
splitSafeQuote(String input,
char separator,
boolean trim)
Splits the input safely honoring if values is enclosed in quotes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String[] splitSafeQuote(String input,
char separator)
input - the inputseparator - the separator char to split the input, for example a comma.
public static String[] splitSafeQuote(String input,
char separator,
boolean trim)
input - the inputseparator - the separator char to split the input, for example a comma.trim - whether to trim each splitted value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||