Previous: Command Line Arguments Next: Resources Table of contents Frames User guide
Unidata IDV Workshop for version 6.2u2 > Java Developer Topics > IDV Startup

5.2.2 Example Args Manager
Let's go create our own ExampleArgsManager to parse application specific command line arguments.
  1. cd to /home/idv/idv/ucar/unidata/apps/example
  2. Uncomment the the doMakeArgsManager factory method in ExampleIdv.java:
        protected ArgsManager doMakeArgsManager(String args) {
            return new ExampleArgsManager(this, args);
        }
    
  3. Look at ExampleArgsManager.java. This handles the argument "-examplearg"

 


Previous: Command Line Arguments Next: Resources Table of contents Frames User guide
Unidata IDV Workshop for version 6.2u2 > Java Developer Topics > IDV Startup