public enum SupportedTranslators extends Enum<SupportedTranslators>
So instead, I've included some helpful comments here and there. They might not make sense, but hey, at least they're something.
| Modifier and Type | Method and Description |
|---|---|
static SupportedTranslators |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedTranslators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedTranslators GOOGLE
GoogleTranslatorpublic static final SupportedTranslators DEEPL
DeeplTranslatorpublic static final SupportedTranslators OPENAI
OpenAiTranslatorpublic static SupportedTranslators[] values()
for (SupportedTranslators c : SupportedTranslators.values()) System.out.println(c);
public static SupportedTranslators valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 FG Forrest, a.s.. All rights reserved.