Package net.minecraftforge.fml
Class ForgeI18n.CustomReadOnlyFormat
- java.lang.Object
-
- java.text.Format
-
- net.minecraftforge.fml.ForgeI18n.CustomReadOnlyFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Enclosing class:
- ForgeI18n
public static class ForgeI18n.CustomReadOnlyFormat extends java.text.Format
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.BiConsumer<java.lang.StringBuffer,java.lang.Object>
formatter
-
Constructor Summary
Constructors Constructor Description CustomReadOnlyFormat(java.util.function.BiConsumer<java.lang.StringBuffer,java.lang.Object> formatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuffer
format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
java.lang.Object
parseObject(java.lang.String source, java.text.ParsePosition pos)
-
-
-
Method Detail
-
format
public java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
- Specified by:
format
in classjava.text.Format
-
parseObject
public java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos)
- Specified by:
parseObject
in classjava.text.Format
-
-