- java.lang.Object
-
- io.rxmicro.validation.validator.PhoneConstraintValidator
-
- io.rxmicro.validation.validator.ViberConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<String>
public class ViberConstraintValidator extends PhoneConstraintValidator
Validator for theViberconstraint.- Since:
- 0.1
- Author:
- nedis
- See Also:
Viber
-
-
Constructor Summary
Constructors Constructor Description ViberConstraintValidator(boolean withoutPlus, boolean allowsSpaces)Creates the default instance ofViberConstraintValidatorwith the specified parameters.
-
Method Summary
-
Methods inherited from class io.rxmicro.validation.validator.PhoneConstraintValidator
validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.rxmicro.validation.ConstraintValidator
validate, validateIterable, validateIterable, validateMapValues, validateMapValues
-
-
-
-
Constructor Detail
-
ViberConstraintValidator
public ViberConstraintValidator(boolean withoutPlus, boolean allowsSpaces)Creates the default instance ofViberConstraintValidatorwith the specified parameters.- Parameters:
withoutPlus- value must be without plus or notallowsSpaces- allows whitespaces or not
-
-