public class QuotedOptions extends Object
| Constructor and Description |
|---|
QuotedOptions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static Map<String,String> |
parseAssignments(List<String> assignments,
int type) |
static String |
quoteValue(String name) |
static ArrayList<String> |
tokenizeList(String options,
boolean stripQuotes)
Create an array of parameters from a whitespace-delimited list (e.g.
|
public static ArrayList<String> tokenizeList(String options, boolean stripQuotes)
options - - string of blank-delimited optionsstripQuotes - - true if balanced quotes are to be removedpublic static Map<String,String> parseAssignments(List<String> assignments, int type) throws IllegalArgumentException
IllegalArgumentExceptionpublic static void main(String[] args)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.