Interface FormatValidator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int argumentCount()
      The number of arguments needed for the format.
      java.lang.String detailMessage()
      A detail message if isValid() returns false, otherwise an empty string.
      java.lang.String format()
      Returns the format string used for validation.
      boolean isValid()
      Returns true of the format is valid, otherwise false.
      java.lang.String summaryMessage()
      A summary message if isValid() returns false, otherwise an empty string.
    • Method Detail

      • argumentCount

        int argumentCount()
        The number of arguments needed for the format.
        Returns:
        the number of arguments needed.
      • format

        java.lang.String format()
        Returns the format string used for validation.
        Returns:
        the format string.
      • isValid

        boolean isValid()
        Returns true of the format is valid, otherwise false.
        Returns:
        true of the format is valid, otherwise false.
      • detailMessage

        java.lang.String detailMessage()
        A detail message if isValid() returns false, otherwise an empty string.
        Returns:
        a detailed message.
      • summaryMessage

        java.lang.String summaryMessage()
        A summary message if isValid() returns false, otherwise an empty string.
        Returns:
        a summary message.