Currency Enhancements in Java 7
Posted: 11/30/2011 Filed under: Java 7 New Features | Tags: Currency, Java 7 Leave a comment »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.
Currency Enhancements in Java 7