Package org.bpsbits.kt.rest.i18n
Enum ISO6391Code
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ISO6391Code extends Enum<ISO6391Code>
List of ISO 639-1 language codes.
Includes ANY to support HTTP Accept-Language header.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classISO6391Code.CompanionStatic methods and properties.
-
Constructor Summary
Constructors Constructor Description ISO6391Code(String language, String code)
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description final ISO6391CodeOutputtoISO6391CodeOutput()Returns ISO6391Code as ISO6391CodeOutput. final ISO6391CodevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ISO6391Code>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetLanguage()final StringgetCode()final EnumEntries<ISO6391Code>getEntries()List of ISO 639-1 language codes. -
-
Method Detail
-
toISO6391CodeOutput
final ISO6391CodeOutput toISO6391CodeOutput()
Returns ISO6391Code as ISO6391CodeOutput.
-
valueOf
final ISO6391Code valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<ISO6391Code> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getLanguage
final String getLanguage()
-
getEntries
final EnumEntries<ISO6391Code> getEntries()
List of ISO 639-1 language codes.
Includes ANY to support HTTP Accept-Language header.
-
-
-
-