public class LanguageMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Splitter |
EQUAL_SIGN_SPLITTER |
private static LanguageMap |
instance |
private java.util.Map<java.lang.String,java.lang.String> |
languageList |
private long |
lastUpdateTimeInMilliseconds |
private static java.util.regex.Pattern |
NUMERIC_VARIABLE_PATTERN |
Constructor and Description |
---|
LanguageMap() |
Modifier and Type | Method and Description |
---|---|
(package private) static LanguageMap |
getInstance() |
long |
getLastUpdateTimeInMilliseconds() |
static void |
inject(java.io.InputStream inputstream) |
private static void |
inject(LanguageMap inst,
java.io.InputStream inputstream) |
boolean |
isKeyTranslated(java.lang.String key) |
static java.util.Map<java.lang.String,java.lang.String> |
parseLangFile(java.io.InputStream inputstream) |
static void |
replaceWith(java.util.Map<java.lang.String,java.lang.String> p_135063_0_) |
java.lang.String |
translateKey(java.lang.String key) |
java.lang.String |
translateKeyFormat(java.lang.String key,
java.lang.Object... format) |
private java.lang.String |
tryTranslateKey(java.lang.String key) |
private static final java.util.regex.Pattern NUMERIC_VARIABLE_PATTERN
private static final com.google.common.base.Splitter EQUAL_SIGN_SPLITTER
private static final LanguageMap instance
private final java.util.Map<java.lang.String,java.lang.String> languageList
private long lastUpdateTimeInMilliseconds
public static void inject(java.io.InputStream inputstream)
private static void inject(LanguageMap inst, java.io.InputStream inputstream)
public static java.util.Map<java.lang.String,java.lang.String> parseLangFile(java.io.InputStream inputstream)
static LanguageMap getInstance()
public static void replaceWith(java.util.Map<java.lang.String,java.lang.String> p_135063_0_)
public java.lang.String translateKey(java.lang.String key)
public java.lang.String translateKeyFormat(java.lang.String key, java.lang.Object... format)
private java.lang.String tryTranslateKey(java.lang.String key)
public boolean isKeyTranslated(java.lang.String key)
public long getLastUpdateTimeInMilliseconds()