Package org.bpsbits.kt.rest.i18n
Object ISO6391Code.Companion
-
- All Implemented Interfaces:
public class ISO6391Code.CompanionStatic methods and properties.
-
-
Field Summary
Fields Modifier and Type Field Description private final Array<String>codeArraypublic final static ISO6391Code.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ISO6391Coderesolve(String locale)Resolves theg given string to ISO 639-1 language code. final Array<String>getCodeArray()-
-
Method Detail
-
resolve
final ISO6391Code resolve(String locale)
Resolves theg given string to ISO 639-1 language code.
- Parameters:
locale- The string to resolve.- Returns:
The ISO 639-1 language code. If the given string is not a valid ISO 639-1 language code, ANY is returned
-
getCodeArray
final Array<String> getCodeArray()
-
-
-
-