Package net.minecraftforge.common
Class ForgeI18n
java.lang.Object
net.minecraftforge.common.ForgeI18n
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPattern(String patternName) static voidloadLanguageData(Map<String, String> properties) private static voidparseException(String formatString, StringBuffer stringBuffer, Object objectToParse) static StringparseFormat(String format, Object... args) static StringparseMessage(String i18nMessage, Object... args) private static voidparseModInfo(String formatString, StringBuffer stringBuffer, Object modInfo) static StringstripControlCodes(String text) static StringstripSpecialChars(String message)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
ALLOWED_CHARS
- See Also:
-
DISALLOWED_CHAR_MATCHER
private static final com.google.common.base.CharMatcher DISALLOWED_CHAR_MATCHER -
i18n
-
customFactories
-
PATTERN_CONTROL_CODE
-
-
Constructor Details
-
ForgeI18n
public ForgeI18n()
-
-
Method Details
-
parseException
private static void parseException(String formatString, StringBuffer stringBuffer, Object objectToParse) -
parseModInfo
-
getPattern
-
loadLanguageData
-
parseMessage
-
parseFormat
-
stripSpecialChars
-
stripControlCodes
-