Class ValueFormatter

java.lang.Object
org.gorpipe.querydialogs.util.ValueFormatter

public class ValueFormatter extends Object
  • Field Details

  • Constructor Details

    • ValueFormatter

      public ValueFormatter(Map<Object,String> formats)
      Parameters:
      formats -
  • Method Details

    • format

      public String format(Object key, Object... values)
      Parameters:
      key -
      values -
      Returns:
      the given values formatted according to format identified by given key
    • hasEmptyFormat

      public boolean hasEmptyFormat()
      Check if value formatter has empty format defined.
      Returns:
      true if empty format is defined, otherwise false