public class Locale
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.google.gson.Gson |
GSON |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static java.util.regex.Pattern |
PATTERN |
protected java.util.Map<java.lang.String,java.lang.String> |
properties |
Constructor and Description |
---|
Locale() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatMessage(java.lang.String translateKey,
java.lang.Object[] parameters) |
void |
func_195811_a(IResourceManager p_195811_1_,
java.util.List<java.lang.String> p_195811_2_) |
boolean |
hasKey(java.lang.String key) |
private void |
loadLocaleData(java.io.InputStream inputStreamIn) |
private void |
loadLocaleData(java.util.List<IResource> resourcesList) |
private java.lang.String |
translateKeyPrivate(java.lang.String translateKey) |
private static final com.google.gson.Gson GSON
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.util.regex.Pattern PATTERN
protected final java.util.Map<java.lang.String,java.lang.String> properties
public void func_195811_a(IResourceManager p_195811_1_, java.util.List<java.lang.String> p_195811_2_)
private void loadLocaleData(java.util.List<IResource> resourcesList)
private void loadLocaleData(java.io.InputStream inputStreamIn)
private java.lang.String translateKeyPrivate(java.lang.String translateKey)
public java.lang.String formatMessage(java.lang.String translateKey, java.lang.Object[] parameters)
public boolean hasKey(java.lang.String key)