Package net.minecraftforge.common
Class ForgeI18n
java.lang.Object
net.minecraftforge.common.ForgeI18n
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
LOGGERprivate static final org.apache.logging.log4j.Logger LOGGER
- 
ALLOWED_CHARS- See Also:
 
- 
DISALLOWED_CHAR_MATCHERprivate static final com.google.common.base.CharMatcher DISALLOWED_CHAR_MATCHER
- 
i18n
- 
customFactories
- 
PATTERN_CONTROL_CODE
 
- 
- 
Constructor Details- 
ForgeI18npublic ForgeI18n()
 
- 
- 
Method Details- 
parseExceptionprivate static void parseException(String formatString, StringBuffer stringBuffer, Object objectToParse) 
- 
parseModInfo
- 
getPattern
- 
loadLanguageData
- 
parseMessage
- 
parseFormat
- 
stripSpecialChars
- 
stripControlCodes
 
-