Interface Formatter<T>

    • Method Detail

      • format

        String format​(T value)
        Format a value by converting it to a string.
        Parameters:
        value - The value to format
        Returns:
        A formatted string
      • parseString

        T parseString​(String value)
        Parse a string and return a value of the correct type. A null input string should (unless otherwise documented by a specific formatter implementation) be allowed and may return null or any other "default" value.
        Parameters:
        value - The string to parse
        Returns:
        An object
        Since:
        2.2