public final class StringValues
extends java.lang.Object
StringValue
implementations.Modifier and Type | Field and Description |
---|---|
static FormatStringValue |
DATE_TO_STRING
Default converter for
Date types. |
static StringValue |
EMPTY
A
StringValue that always presents an empty string. |
static StringValue |
FILE_NAME
A
StringValue that presents the current L&F display name for a
given file. |
static StringValue |
FILE_TYPE
A
StringValue that presents the current L&F type name for a
given file. |
static FormatStringValue |
NUMBER_TO_STRING
Default converter for
Number types. |
static StringValue |
TO_STRING
A
StringValue that presents a toString
value for the given object. |
public static final StringValue EMPTY
StringValue
that always presents an empty string.public static final StringValue TO_STRING
StringValue
that presents a toString
value for the given object. If the value passed is null
, this has
the same effect as EMPTY
.public static final StringValue FILE_NAME
StringValue
that presents the current L&F display name for a
given file. If the value passed to FILE_NAME
is not a
File
, this has the same effect as EMPTY
.public static final StringValue FILE_TYPE
StringValue
that presents the current L&F type name for a
given file. If the value passed to FILE_TYPE
is not a
File
, this has the same effect as EMPTY
.public static final FormatStringValue DATE_TO_STRING
Date
types. Uses the default format
as returned from DateFormat
.public static final FormatStringValue NUMBER_TO_STRING
Number
types. Uses the default format
as returned from NumberFormat
.