Package Torello.Languages
Enum LC
- java.lang.Object
-
- java.lang.Enum<LC>
-
- Torello.Languages.LC
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LC>
public enum LC extends java.lang.Enum<LC>
LC, Language-Code - Documentation.
This provides an enumerated type for all of the various language-codes that will be accepted by the Google Cloud Services - Translation API.
Hi-Lited Source-Code:
- View Here: Torello/Languages/LC.java
- Open New Browser-Tab: Torello/Languages/LC.java
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AF
Language: AfrikaansAR
Language: ArabicAZ
Language: AzerbaijaniBE
Language: BelarusianBG
Language: BulgarianBN
Language: BengaliCA
Language: CatalanCS
Language: CzechCY
Language: WelshDA
Language: DanishDE
Language: GermanEL
Language: GreekEN
Language: EnglishEO
Language: EsperantoES
Language: SpanishET
Language: EstonianEU
Language: BasqueFA
Language: PersianFI
Language: FinnishFR
Language: FrenchGA
Language: IrishGL
Language: GalicianGU
Language: GujaratiHI
Language: HindiHR
Language: CroatianHT
Language: Haitian CreoleHU
Language: HungarianID
Language: IndonesianIS
Language: IcelandicIT
Language: ItalianIW
Language: HebrewJAR
Language: JapaneseKA
Language: GeorgianKN
Language: KannadaKO
Language: KoreanLA
Language: LatinLT
Language: LithuanianLV
Language: LatvianMK
Language: MacedonianMS
Language: MalayMT
Language: MalteseNL
Language: DutchNO
Language: NorwegianPL
Language: PolishPT
Language: PortugueseRO
Language: RomanianRU
Language: RussianSK
Language: SlovakSL
Language: SlovenianSQ
Language: AlbanianSR
Language: SerbianSV
Language: SwedishSW
Language: SwahiliTA
Language: TamilTE
Language: TeluguTH
Language: ThaiTL
Language: FilipinoTR
Language: TurkishUK
Language: UkrainianUR
Language: UrduVI
Language: VietnameseYI
Language: YiddishZH_CN
Language: Chinese SimplifiedZH_TW
Language: Chinese Traditional
-
Field Summary
Fields Modifier and Type Field String
gcsLanguageCode
String
languageName
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method static LC
valueOf(String name)
static LC[]
values()
-
-
-
Field Detail
-
languageName
public final java.lang.String languageName
This contains an java-string that represents the name of the language (in English - "Irish" "Chinese" "Japanese")- Code:
- Exact Field Declaration Expression:
1
public final String languageName;
-
gcsLanguageCode
public final java.lang.String gcsLanguageCode
This is the two (or five) character String that communicates with GCS Translate API, identifying a language.
COMMON CODES:"zh-CN"
(Mainland Chinese)"zh-TW"
(Traditional Chinese)"es"
(Spanish)"fr"
(French)"ar"
(Arabic)
- Code:
- Exact Field Declaration Expression:
1
public final String gcsLanguageCode;
-
-
Method Detail
-
values
public static LC[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LC c : LC.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LC valueOf(java.lang.String name)
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-