
org.meeuw.i18n.languages.Scope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i18n-iso-639 Show documentation
Show all versions of i18n-iso-639 Show documentation
Provides a class with one instance of every of the ISO 639 languages
package org.meeuw.i18n.languages;
/**
* The 'scope' of the language as defined in ISO-639-3.
*
* Or in the case of {@link #FAMILY} in it means that this code indicates a language family of
* ISO-639-5.
*/
public enum Scope {
/**
* Individual languages as defined by ISO 639-3
*/
I("individual"),
/**
* MacroLanguage
*/
M("macrolanguage"),
/**
* Special
*/
S("special language"),
/**
* ISO-639-5
*/
FAMILY("language family")
;
private final String string;
Scope(String string) {
this.string = string;
}
@Override
public String toString() {
return string;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy