common-util

local.tomas.util.options
Class Options

java.lang.Object
  extended by local.tomas.util.options.Options

public class Options
extends Object

Static option processor.

Author:
Teubner

Method Summary
static int getOptions(String[] argv, Option[] options)
          Get options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOptions

public static int getOptions(String[] argv,
                             Option[] options)
                      throws OptionException
Get options.

Parameters:
argv - arguments passed to main
options - option descriptions and values
Returns:
number of options processed
Throws:
OptionException

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.