public interface ArgsProcessor
publicfields annotated by
Arghave been initialized before the
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
process(org.netbeans.spi.sendopts.Env) can safely
use the platform.
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
Built on February 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.