public class ForgeI18n
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ForgeI18n.CustomReadOnlyFormat |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,org.apache.commons.lang3.text.FormatFactory> |
customFactories |
private static java.util.Map<java.lang.String,java.lang.String> |
i18n |
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
ForgeI18n() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPattern(java.lang.String patternName) |
static void |
loadLanguageData(java.util.Map<java.lang.String,java.lang.String> properties) |
private static void |
parseException(java.lang.String formatString,
java.lang.StringBuffer stringBuffer,
java.lang.Object objectToParse) |
static java.lang.String |
parseFormat(java.lang.String format,
java.lang.Object... args) |
static java.lang.String |
parseMessage(java.lang.String i18nMessage,
java.lang.Object... args) |
private static void |
parseModInfo(java.lang.String formatString,
java.lang.StringBuffer stringBuffer,
java.lang.Object modInfo) |
private static final org.apache.logging.log4j.Logger LOGGER
private static java.util.Map<java.lang.String,java.lang.String> i18n
private static java.util.Map<java.lang.String,org.apache.commons.lang3.text.FormatFactory> customFactories
private static void parseException(java.lang.String formatString, java.lang.StringBuffer stringBuffer, java.lang.Object objectToParse)
private static void parseModInfo(java.lang.String formatString, java.lang.StringBuffer stringBuffer, java.lang.Object modInfo)
public static java.lang.String getPattern(java.lang.String patternName)
public static void loadLanguageData(java.util.Map<java.lang.String,java.lang.String> properties)
public static java.lang.String parseMessage(java.lang.String i18nMessage, java.lang.Object... args)
public static java.lang.String parseFormat(java.lang.String format, java.lang.Object... args)