public static final class CommandLine.Builder extends Object
CommandLine instance using descriptive methods.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CommandLine.Builder |
addArg(String arg)
Add left-over unrecognized option/argument.
|
CommandLine.Builder |
addOption(Option opt)
Add an option to the command line.
|
CommandLine |
build() |
public CommandLine.Builder addArg(String arg)
arg - the unrecognized option/argument.public CommandLine.Builder addOption(Option opt)
opt - the processed option.public CommandLine build()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.