Is there an open source java enum of ISO 3166-1 country codes

Now an implementation of country code (ISO 3166-1 alpha-2/alpha-3/numeric) list as Java enum is available at GitHub under Apache License version 2.0. Example: CountryCode cc = CountryCode.getByCode(“JP”); System.out.println(“Country name = ” + cc.getName()); // “Japan” System.out.println(“ISO 3166-1 alpha-2 code = ” + cc.getAlpha2()); // “JP” System.out.println(“ISO 3166-1 alpha-3 code = ” + cc.getAlpha3()); // “JPN” … Read more