| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String field,
Action action)
Check and validate the given field from the give action.
|
static FileSizeRule |
getInstance(int max) |
static FileSizeRule |
getInstance(int min,
int max) |
Map<String,String> |
getTokens()
Returns a map with tokens that can be used in the error messages.
|
public static FileSizeRule getInstance(int min, int max)
public static FileSizeRule getInstance(int max)
public boolean check(String field, Action action)
RuleCopyright © 2015. All Rights Reserved.