public final class StringQuoteHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 valueApache CAMEL