Package com.aripd.validate.luhn
Class LuhnValidator
- java.lang.Object
-
- com.aripd.validate.luhn.LuhnValidator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LuhnValidator.IMEICheck
For example: 350077523237513
-
Constructor Summary
Constructors Constructor Description LuhnValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(Luhn constraintAnnotation)
boolean
isValid(String s, javax.validation.ConstraintValidatorContext constraintContext)
-
-
-
Method Detail
-
initialize
public void initialize(Luhn constraintAnnotation)
-
-