Object ISO6391Code.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ISO6391Code resolve(String locale) Resolves theg given string to ISO 639-1 language code.
      final Array<String> getCodeArray()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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