| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| public static void | |
| private static void | |
| private static void | |
| public static String[] | |
| public static List | |
| public static List | Returns: the arguments, with environment variable's content and expansion of @filesthe env variable to process envVariable, List<String> the arguments that may contain @files args)Process the given environment variable and appends any Win32-style command files for the specified command line arguments and return the resulting arguments. |
| CommandLine | back to summary |
|---|---|
| public CommandLine() | |
| appendParsedCommandArgs | back to summary |
|---|---|
| private static void appendParsedCommandArgs(List<String> newArgs, List<String> args) throws IOException | |
| appendParsedEnvVariables | back to summary |
|---|---|
private static void appendParsedEnvVariables(List<String> newArgs, String envVariable) throws UnmatchedQuote
| |
| loadCmdFile | back to summary |
|---|---|
| public static void loadCmdFile(InputStream in, List<String> args) throws IOException | |
| loadCmdFile | back to summary |
|---|---|
| private static void loadCmdFile(String name, List<String> args) throws IOException | |
| loadCmdFileAndCloseReader | back to summary |
|---|---|
| private static void loadCmdFileAndCloseReader(Reader r, List<String> args) throws IOException | |
| parse | back to summary |
|---|---|
| public static String[] parse(String... args) throws IOException Convenient wrapper for the
| |
| parse | back to summary |
|---|---|
| public static List Process Win32-style command files for the specified command line arguments and return the resulting arguments. A command file argument is of the form '@file' where 'file' is the name of the file whose contents are to be parsed for additional arguments. The contents of the command file are parsed using StreamTokenizer and the original '@file' argument replaced with the resulting tokens. Recursive command files are not supported. The '@' character itself can be quoted with the sequence '@@'.
| |
| parse | back to summary |
|---|---|
| public static List Process the given environment variable and appends any Win32-style command files for the specified command line arguments and return the resulting arguments. A command file argument is of the form '@file' where 'file' is the name of the file whose contents are to be parsed for additional arguments. The contents of the command file are parsed using StreamTokenizer and the original '@file' argument replaced with the resulting tokens. Recursive command files are not supported. The '@' character itself can be quoted with the sequence '@@'. | |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| pack-priv void |
| Tokenizer | back to summary |
|---|---|
| public Tokenizer(Reader in) throws IOException | |
| nextToken | back to summary |
|---|---|
| public String nextToken() throws IOException | |
| skipWhite | back to summary |
|---|---|
| pack-priv void skipWhite() throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| public final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| variableName | back to summary |
|---|---|
| public final String variableName | |
| UnmatchedQuote | back to summary |
|---|---|
| pack-priv UnmatchedQuote(String variable) | |