Uses of Interface
com.jk.core.validation.Validator
Packages that use Validator
-
Uses of Validator in com.jk.core.validation.builtin
Classes in com.jk.core.validation.builtin that implement ValidatorModifier and TypeClassDescriptionenumThis enum provides a set of predefined validation rules for various types of data.Methods in com.jk.core.validation.builtin that return ValidatorModifier and TypeMethodDescriptionFSValidators.disallowChars(char[] chars, boolean trim) This method creates a validator that disallows specified characters.FSValidators.encodableInCharset(String charsetName) This method creates a validator that checks if a string can be encoded in a specified charset.This method creates a validator that checks if a given input string conforms to the specified format.FSValidators.forString(boolean trim) This method creates a validator for strings based on the specified validation rule.FSValidators.maxLength(int length) This method creates a validator that checks if the length of a given input string does not exceed a specified maximum length.This method creates a validator by merging multiple validators together.static <T> Validator<T>This method creates a validator by merging multiple validators together.FSValidators.minLength(int length) This method creates a validator that checks if a string has a minimum length.FSValidators.numberRange(Number min, Number max) This method creates a validator that checks if a number falls within a specified range.This method creates a validator that checks if a string matches a regular expression pattern.FSValidators.splitString(String regexp, Validator<String> other) This method creates a validator that splits a string using a regular expression and validates each resulting substring using the provided validator.FSValidators.trim()This method creates a validator for strings that trims the input string before validation.FSValidators.trimString(Validator<String>... others) This method creates a validator that trims the input string and then validates it using the provided validators.FSValidators.validNumber()This method creates a validator for ensuring that the input string represents a valid number.Methods in com.jk.core.validation.builtin with parameters of type ValidatorModifier and TypeMethodDescriptionThis method creates a validator by merging multiple validators together.static <T> Validator<T>This method creates a validator by merging multiple validators together.FSValidators.splitString(String regexp, Validator<String> other) This method creates a validator that splits a string using a regular expression and validates each resulting substring using the provided validator.FSValidators.trimString(Validator<String>... others) This method creates a validator that trims the input string and then validates it using the provided validators.