Class StringValues


  • public final class StringValues
    extends Object
    A collection of common StringValue implementations.
    Author:
    Karl George Schaefer, Jeanette Winzenburg
    • Field Detail

      • EMPTY

        public static final StringValue EMPTY
        A StringValue that always presents an empty string.
      • TO_STRING

        public static final StringValue TO_STRING
        A StringValue that presents a toString value for the given object. If the value passed is null, this has the same effect as EMPTY.
      • FILE_NAME

        public static final StringValue FILE_NAME
        A 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 TO_STRING.
      • FILE_TYPE

        public static final StringValue FILE_TYPE
        A 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 TO_STRING.
      • DATE_TO_STRING

        public static final FormatStringValue DATE_TO_STRING
        Default converter for Date types. Uses the default format as returned from DateFormat.
      • NUMBER_TO_STRING

        public static final FormatStringValue NUMBER_TO_STRING
        Default converter for Number types. Uses the default format as returned from NumberFormat.
      • TO_STRING_UI

        public static final StringValue TO_STRING_UI