public interface ArgsProcessor
public
fields annotated by Arg
have 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
@
Arg
are filled with appropriate values.env
- environment for the execution - current working directory,
stdin, stdout, stderrCommandException
- if the parameters don't make sense, throw an
exceptionBuilt on August 25 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.