public class ISO4217AlphaNumericCurrencyCodeMappings
extends java.lang.Object
Constructor and Description |
---|
ISO4217AlphaNumericCurrencyCodeMappings() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAlphaCode(java.lang.String numericCode)
This method obtains the alpha representation of an ISO 4217 currency code.
|
static java.lang.String |
getNumericCode(java.lang.String alphaCode)
This method obtains the numeric representation of an ISO 4217 currency code.
|
public ISO4217AlphaNumericCurrencyCodeMappings()
public static java.lang.String getAlphaCode(java.lang.String numericCode) throws InvalidDataException
numericCode
- The numeric representation of an ISO 4217 currency codeInvalidDataException
- If the conversion cannot be donepublic static java.lang.String getNumericCode(java.lang.String alphaCode) throws InvalidDataException
alphaCode
- The alpha representation of an ISO 4217 currency codeInvalidDataException
- If the conversion cannot be done