currency
Class Currencies

java.lang.Object
  extended by currency.Currencies

public class Currencies
extends java.lang.Object

Enumerates acceptable currencies. (Java 1.3 doesn't support enum types.)


Field Summary
static java.lang.String EUR
           
static java.lang.String JPY
           
static java.lang.String USD
           
 
Constructor Summary
Currencies()
           
 
Method Summary
static boolean isValidCurrency(java.lang.String c)
          Decides wether a given String is a valid currency.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EUR

public static final java.lang.String EUR
See Also:
Constant Field Values

USD

public static final java.lang.String USD
See Also:
Constant Field Values

JPY

public static final java.lang.String JPY
See Also:
Constant Field Values
Constructor Detail

Currencies

public Currencies()
Method Detail

isValidCurrency

public static boolean isValidCurrency(java.lang.String c)
Decides wether a given String is a valid currency.