| Package | Description |
|---|---|
| org.netbeans.api.sendopts |
Start here if you are in a standalone application and you want to
parse a command line using the
sendopts infrastructure. |
| org.netbeans.spi.sendopts |
Package for those that want to write a
command line handler
that can participate on handling parts of a
command line send to the application.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CommandLine.process(java.lang.String... args) |
Process the array of arguments and invoke associated
OptionProcessors. |
void |
CommandLine.process(java.lang.String[] args,
java.io.InputStream is,
java.io.OutputStream os,
java.io.OutputStream err,
java.io.File currentDir) |
Process the array of arguments and invoke associated
OptionProcessors. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ArgsProcessor.process(Env env) |
Called after all fields annotated with
@Arg
are filled with appropriate values. |
protected abstract void |
OptionProcessor.process(Env env,
java.util.Map<Option,java.lang.String[]> optionValues) |
Called by the sendopts parsing infrastructure as a result of
CommandLine.process(java.lang.String...). |
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.