public class FormatStringConverter<T>
extends <any>
StringConverter
implementation that can use a Format
instance.
Modifier and Type | Field and Description |
---|---|
(package private) java.text.Format |
format |
Constructor and Description |
---|
FormatStringConverter(java.text.Format format) |
Modifier and Type | Method and Description |
---|---|
T |
fromString(java.lang.String value) |
protected java.text.Format |
getFormat()
Return a
Format instance to use for formatting
and parsing in this StringConverter . |
java.lang.String |
toString(T value) |
public T fromString(java.lang.String value)
public java.lang.String toString(T value)
protected java.text.Format getFormat()
Return a Format
instance to use for formatting
and parsing in this StringConverter
.
Format
instance for formatting and parsing in this StringConverter