F - The type of object this formatter converts into a
Stringpublic interface ValueFormatter<F>
An interface that denotes the implementing object is capable of converting objects of a certain type into strings. Along with the constraints applied by this interface, all classes implementing this interface must define a no-argument constructor which properly constructs the parser. If no actual configuration is required, a constructor may be omitted entirely and the objects default constructor provided automatically by Java will be used instead.
If the class also provides the reverse operation (parsing a string into an object it should implementValueParser.java.lang.Class<F> getType()
Class all objects acceptable as input to the format method must be
assignable to.ValueFormatterjava.lang.String format(F object)
Stringjava.lang.NullPointerException - If object is null and this parser does
not format null objects.object - The object to formatobject