使用Java,有没有一种快速的方法将alpha-2国家代码(IN或GB)转换为alpha-3等价物(IND或GBR)?
我可以得到alpha-2代码:
String [] codes = java.util.Locale.getISOLanguages();
这不是问题,实际上我的应用程序读取alpha-2代码,但我需要输出alpha-3等价物.
是否有类似的方式来获得alpha-3代码?
有什么建议?
java locale country-codes
country-codes ×1
java ×1
locale ×1