StringFormatValidator
public interface FormatValidator
Modifier and Type | Method | Description |
---|---|---|
int |
argumentCount() |
The number of arguments needed for the format.
|
String |
detailMessage() |
A detail message if
isValid() returns false , otherwise an empty string. |
String |
format() |
Returns the format string used for validation.
|
boolean |
isValid() |
Returns
true of the format is valid, otherwise false . |
String |
summaryMessage() |
A summary message if
isValid() returns false , otherwise an empty string. |
int argumentCount()
String format()
boolean isValid()
true
of the format is valid, otherwise false
.true
of the format is valid, otherwise false
.String detailMessage()
isValid()
returns false
, otherwise an empty string.Copyright © 2018. All rights reserved.