webfunds.utils
Class Params

java.lang.Object
  |
  +--webfunds.utils.Params

public class Params
extends java.lang.Object

This class wil provide parameter parsing it is implemented as a hash table


Constructor Summary
Params(java.lang.String[] args)
          The construct will typically be called from the main.
 
Method Summary
 java.lang.String get(java.lang.String key)
          returns the String to which the specified key is mapped Note: null can be returned.
 java.lang.String hello()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Params

public Params(java.lang.String[] args)
The construct will typically be called from the main. import webfunds.utils.*; public static main(String[] args) { Params myParams = new Params(args) }
Parameters:
args - key,value combination eq (-time "23:00:65") note the amount of arguments sould be a factor of 2 the keys do not have to start with -
Method Detail

get

public java.lang.String get(java.lang.String key)
returns the String to which the specified key is mapped Note: null can be returned.

hello

public java.lang.String hello()