Uses of Class
specialized_checkers.CheckerString
Packages that use CheckerString
-
Uses of CheckerString in specialized_checkers
Subclasses with type arguments of type CheckerString in specialized_checkersModifier and TypeClassDescriptionclass
CheckerString is a specialized checker for validating and performing assertions on String values.Methods in specialized_checkers that return CheckerStringModifier and TypeMethodDescriptionstatic CheckerString
Creates a new CheckerString instance for the given string with a default name.static CheckerString
Creates a new CheckerString instance for the given string and name.CheckerString.contains
(CharSequence s) Checks if the string contains the specified sequence of char values.Checks if the string ends with the specified suffix.CheckerString.hasSpecialCharacters()
Checks if the string contains any special characters (e.g., !CheckerString.inRange
(int min, int max) Checks if the string length is within the specified range (exclusive).CheckerString.isBlank()
Checks if the string is blank (empty or contains only whitespace).CheckerString.isDigit()
Checks if the string consists only of digits.CheckerString.isDNI()
Checks if the string is a valid Spanish DNI (8 digits followed by an uppercase letter).CheckerString.isEmpty()
Checks if the string is empty.CheckerString.isEqualsIgnoreCase
(String anotherString) Checks if the string equals another string, ignoring case considerations.CheckerString.isIPv4()
Checks if the string is a valid IPv4 address.CheckerString.isIPv6()
Checks if the string is a valid IPv6 address.CheckerString.isPalindrome()
Checks if the string is a palindrome (reads the same forwards and backwards).Checks if the string matches the given regular expression.CheckerString.max
(int max) Checks if the string length is less than the specified maximum.CheckerString.min
(int min) Checks if the string length is greater than the specified minimum.protected CheckerString
CheckerString.self()
Returns this instance (for fluent API usage).CheckerString.startsWith
(String prefix) Checks if the string starts with the specified prefix. -
Uses of CheckerString in util
Methods in util that return CheckerStringModifier and TypeMethodDescriptionChecker.isString()
Checks if the object is a String and returns a CheckerString for further validation.