Java 7 has made some enhancements to the java.util.Currency class. The Currency class has the following new methods in Java 7.
- public static Set<Currency> getAvailableCurrencies()
- public int getNumericCode()
- public String getDisplayName()
- public String getDisplayName(Locale locale)
Java 7 lets you override the default list of currencies using a currency.properties file. Please follow the link below to read the full text of this post.