org.ujac.util.console
Class CommandLineHelper
java.lang.Object
org.ujac.util.console.CommandLineHelper
public class CommandLineHelper
- extends Object
Name: CommandLineHelper
Description: A class providing useful utilities for command line handling.
- Author:
- lauerc
Method Summary |
static int |
parseOptions(String[] args,
Map options)
Parses the command line argument list for options. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineHelper
public CommandLineHelper()
parseOptions
public static final int parseOptions(String[] args,
Map options)
- Parses the command line argument list for options.
- Parameters:
args
- The command line argument list.options
- The option map to fill.
- Returns:
- The index of the first non option argument.
Copyright © 2003-2004 UJAC.org. All Rights Reserved.