|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pkrete.jsip2.variables.CurrencyTypeFactory
public class CurrencyTypeFactory
This class generates CurrencyType objects based on the currency code. This class implements the Singleton design pattern, which means that only one instance is created at run time.
| Method Summary | |
|---|---|
CurrencyType |
getCurrencyType(String code)
Returns the currency type that matches the given code. |
static CurrencyTypeFactory |
getInstance()
Returns a reference to the singleton object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CurrencyTypeFactory getInstance()
public CurrencyType getCurrencyType(String code)
throws InvalidSIP2ResponseValueException
code - currency code
InvalidSIP2ResponseValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||