Type | Name and description |
---|---|
java.util.List<java.util.regex.Pattern> |
mimeTypePatterns |
Constructor and description |
---|
MimeTypeValidator() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
initialize(MimeType constraintAnnotation) |
|
boolean |
isValid(io.vertx.ext.web.FileUpload value, jakarta.validation.ConstraintValidatorContext context) |
|
static java.util.regex.Pattern |
strToPattern(java.lang.String expression) Converts an Ant expression to a Regex pattern. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Converts an Ant expression to a Regex pattern.
expression
- An Ant expression like image/*Groovy Documentation