Class NotDirectoryValidator
- java.lang.Object
-
- org.apache.bval.extras.constraints.file.NotDirectoryValidator
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<NotDirectory,File>
public class NotDirectoryValidator extends Object implements jakarta.validation.ConstraintValidator<NotDirectory,File>
Description:
-
-
Constructor Summary
Constructors Constructor Description NotDirectoryValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(NotDirectory parameters)
boolean
isValid(File value, jakarta.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
isValid
public boolean isValid(File value, jakarta.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<NotDirectory,File>
-
initialize
public void initialize(NotDirectory parameters)
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<NotDirectory,File>
-
-