net.livesite.util
Class Parameters

java.lang.Object
  extended by net.livesite.util.Parameters

public class Parameters
extends Object

Parses command-line parameters.


Method Summary
static Stack getNonOptions(String[] argv)
          Extract non-option values from the provided array.
static Map getOptions(String[] argv)
          Extract option values from the provided array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOptions

public static Map getOptions(String[] argv)
Extract option values from the provided array.

Parameters:
argv - As received from the command-line.

getNonOptions

public static Stack getNonOptions(String[] argv)
Extract non-option values from the provided array.

Parameters:
argv - As received from the command-line.