Uses of Class
com.luchersol.core.specialized_checkers.CheckerString
Packages that use CheckerString
Package
Description
Specialized checker implementations for various data types and structures.
Core utility classes and base abstractions for the Checker framework.
-
Uses of CheckerString in com.luchersol.core.specialized_checkers
Subclasses with type arguments of type CheckerString in com.luchersol.core.specialized_checkersModifier and TypeClassDescriptionclassA specialized checker forStringinstances, providing a fluent API to assert various string properties such as emptiness, length, content, format and patterns.Methods in com.luchersol.core.specialized_checkers that return CheckerStringModifier and TypeMethodDescriptionstatic CheckerStringCreates a new CheckerString instance for the given string with a default name.static CheckerStringCreates 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.isHexadecimal()Checks if the string consists of a hexadecimal sequence.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 CheckerStringCheckerString.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 com.luchersol.core.util
Methods in com.luchersol.core.util that return CheckerStringModifier and TypeMethodDescriptionChecker.isString()Checks if the object is a String and returns a CheckerString for further validation.