public static class ForgeI18n.CustomReadOnlyFormat
extends java.text.Format
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiConsumer<java.lang.StringBuffer,java.lang.Object> |
formatter |
Constructor and Description |
---|
CustomReadOnlyFormat(java.util.function.BiConsumer<java.lang.StringBuffer,java.lang.Object> formatter) |
Modifier and Type | Method and 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) |
private final java.util.function.BiConsumer<java.lang.StringBuffer,java.lang.Object> formatter
CustomReadOnlyFormat(java.util.function.BiConsumer<java.lang.StringBuffer,java.lang.Object> formatter)
public java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
format
in class java.text.Format
public java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos)
parseObject
in class java.text.Format