public abstract class ArgumentTokenizer extends Object
| Constructor and Description |
|---|
ArgumentTokenizer() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
_escapeQuotesAndBackslashes(String s)
Inserts backslashes before any occurrences of a backslash or
quote in the given string.
|
static List<String> |
tokenize(String arguments)
Tokenizes the given String into String tokens
|
static List<String> |
tokenize(String arguments,
boolean stringify)
Tokenizes the given String into String tokens.
|
public static List<String> tokenize(String arguments)
arguments - A String containing one or more command-line style arguments to be tokenized.public static List<String> tokenize(String arguments, boolean stringify)
arguments - A String containing one or more command-line style arguments to be tokenized.stringify - whether or not to include escape special charactersCopyright © 2016. All rights reserved.