Package net.minecraftforge.common
Class ForgeI18n
java.lang.Object
net.minecraftforge.common.ForgeI18n
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPattern
(String patternName) static void
loadLanguageData
(Map<String, String> properties) private static void
parseException
(String formatString, StringBuffer stringBuffer, Object objectToParse) static String
parseFormat
(String format, Object... args) static String
parseMessage
(String i18nMessage, Object... args) private static void
parseModInfo
(String formatString, StringBuffer stringBuffer, Object modInfo) static String
stripControlCodes
(String text) static String
stripSpecialChars
(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
-