Package io.github.jonestimd.text
Class ToStringFormat
- java.lang.Object
-
- java.text.Format
-
- io.github.jonestimd.text.ToStringFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class ToStringFormat extends java.text.Format
Format that usesObject.toString()
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToStringFormat()
-
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
-
-