- java.lang.Object
-
- io.rxmicro.validation.validator.PhoneConstraintValidator
-
- io.rxmicro.validation.validator.TelegramConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<String>
public class TelegramConstraintValidator extends PhoneConstraintValidator
Validator for theTelegramconstraint.- Since:
- 0.1
- Author:
- nedis
- See Also:
Telegram
-
-
Constructor Summary
Constructors Constructor Description TelegramConstraintValidator(boolean withoutPlus, boolean allowsSpaces)Creates the default instance ofTelegramConstraintValidatorwith 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
-
TelegramConstraintValidator
public TelegramConstraintValidator(boolean withoutPlus, boolean allowsSpaces)Creates the default instance ofTelegramConstraintValidatorwith the specified parameters.- Parameters:
withoutPlus- value must be without plus or notallowsSpaces- allows whitespaces or not
-
-