Class FormatValidatorFactory.InvalidFormatValidator

    • Constructor Detail

      • InvalidFormatValidator

        private InvalidFormatValidator()
    • Method Detail

      • of

        static FormatValidator of​(java.lang.String summaryMessage,
                                  java.lang.String detailMessage)
      • format

        public java.lang.String format()
        Description copied from interface: FormatValidator
        Returns the format string used for validation.
        Returns:
        the format string.
      • argumentCount

        public int argumentCount()
        Description copied from interface: FormatValidator
        The number of arguments needed for the format.
        Returns:
        the number of arguments needed.
      • isValid

        public boolean isValid()
        Description copied from interface: FormatValidator
        Returns true of the format is valid, otherwise false.
        Returns:
        true of the format is valid, otherwise false.