public enum LanguageHandler extends java.lang.Enum<LanguageHandler>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemoteLocalizations(java.lang.String language,
java.util.Map<java.lang.String,java.lang.String> properties) |
void |
load() |
RemoteLanguageContainer |
loadRemoteLocalization(java.lang.String modId) |
static LanguageHandler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LanguageHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageHandler INSTANCE
public static LanguageHandler[] values()
for (LanguageHandler c : LanguageHandler.values()) System.out.println(c);
public static LanguageHandler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic RemoteLanguageContainer loadRemoteLocalization(java.lang.String modId) throws java.lang.Exception
java.lang.Exceptionpublic void load()
public void addRemoteLocalizations(java.lang.String language,
java.util.Map<java.lang.String,java.lang.String> properties)