public class OptionUtils extends Object
Constructor and Description |
---|
OptionUtils() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
flatten(String delimiter,
String[] values)
Utility for string option values that are a, e.g., comma-separated list, but can also be
provided multiple times on the command line (so the option type is String[]).
|
public static List<String> flatten(String delimiter, String[] values)
trimmed
string parts, with empty strings filtered
out.