|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.BaseService toolbox.services.util.CurrencyCodeServiceISO4217Impl
public class CurrencyCodeServiceISO4217Impl
Simple CurrencyCodeService
implementation that performs
mappings based on the ISO 4217 standard.
This implemementations configuration data is obtained from the ISO 4217 Wikipedia page.
Constructor Summary | |
---|---|
CurrencyCodeServiceISO4217Impl()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getCurrencyCode(java.lang.String number)
Return the currency code for the given currecy number. |
java.lang.String |
getCurrencyNumber(java.lang.String code)
Return the currency number for the given currency code. |
Methods inherited from class toolbox.services.BaseService |
---|
create, destroy, getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrencyCodeServiceISO4217Impl()
Method Detail |
---|
public java.lang.String getCurrencyNumber(java.lang.String code)
getCurrencyNumber
in interface CurrencyCodeService
code
- String containing the currency code.
public java.lang.String getCurrencyCode(java.lang.String number)
getCurrencyCode
in interface CurrencyCodeService
number
- String containing the currency number.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |