Interface ValueFormatter

All Known Implementing Classes:
JavaValueFormatter, KotlinValueFormatter

public interface ValueFormatter
As per https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.6.1 following n
  • Field Details

  • Method Details

    • format

      static String format(String value, String formatter)
    • formatList

      default String formatList(List<String> values, String formatter)
      Format a list of values to a single string according to a formatter
      Parameters:
      values - values to be formatted
      formatter - value formatter
      Returns:
      formatted string
    • getNullValue

      default String getNullValue()
    • getEmptyListValue

      String getEmptyListValue()
    • getListJoiner

      StringJoiner getListJoiner()
    • getArrayJoiner

      StringJoiner getArrayJoiner()