public interface ArgsProcessor
publicfields annotated by
Arghave been initialized before the
ArgsProcessor.process(org.netbeans.spi.sendopts.Env)method is invoked. The subclass needs to have public default constructor.
For headless NetBeans applications: command line argument processing is the
last step in the boot sequence; services and classes offered by the platform
have been initialized at this point. Application code in
ArgsProcessor.process(org.netbeans.spi.sendopts.Env) can safely
use the platform.
|Modifier and Type||Method and Description|
Called after all fields annotated with
void process(Env env) throws CommandException
Argare filled with appropriate values.
env- environment for the execution - current working directory, stdin, stdout, stderr
CommandException- if the parameters don't make sense, throw an exception