Java code to convert country codes alpha-2 (IN) to alpha 3 (IND)
Yes, simple create a Locale and get if from the locale:
String alpha3Country = new Locale("en", alpha2County).getISO3Country();
BTW: getISOLanguages()
returns language codes (lowercase), getISOCountries()
return country codes (uppercase)
This works -
Locale locale = new Locale("en","IN");
System.out.println("Country=" + locale.getISO3Country());
Output:
Country=IND