Uses of Interface
io.github.cowwoc.requirements13.java.validator.StringValidator
Packages that use StringValidator
Package
Description
-
Uses of StringValidator in io.github.cowwoc.requirements13.java
Methods in io.github.cowwoc.requirements13.java that return StringValidatorModifier and TypeMethodDescriptionstatic StringValidatorValidates the state of aString.static StringValidatorValidates the state of aString.Validates the state of aString.Validates the state of aString.static StringValidatorDefaultJavaValidators.requireThat(String value, String name) Validates the state of aString.JavaRequireThat.requireThat(String value, String name) Validates the state of aString.static StringValidatorValidates the state of aString.static StringValidatorValidates the state of aString.Validates the state of aString.Validates the state of aString. -
Uses of StringValidator in io.github.cowwoc.requirements13.java.validator
Subinterfaces with type arguments of type StringValidator in io.github.cowwoc.requirements13.java.validatorModifier and TypeInterfaceDescriptioninterfaceValidates the state of aString.interfaceValidates the state of aString.Methods in io.github.cowwoc.requirements13.java.validator that return StringValidatorModifier and TypeMethodDescriptionEnsures that the value contains some substring.StringValidator.doesNotContain(String unwanted) Ensures that the value does not contain some substring.StringValidator.doesNotContainWhitespace()Ensures that the value does not contain whitespace characters.StringValidator.doesNotEndWith(String suffix) Ensures that the value does not end with some suffix.StringValidator.doesNotStartWith(String prefix) Ensures that the value does not start with some prefix.Ensures that the value ends with some suffix.StringValidator.isBlank()Ensures that the value is empty or contains onlywhitespacecodepoints.StringValidator.isEmpty()Ensures that the value is empty.StringValidator.isNotBlank()Ensures that the value is not empty or contains non-whitespacecodepoints.StringValidator.isNotEmpty()Ensures that the value is not empty.StringValidator.isStripped()Ensures that the value does not contain leading or trailing whitespace, where whitespace is defined byString.strip().StringValidator.isTrimmed()Ensures that the value does not contain leading or trailing whitespace, where whitespace is defined byString.trim().Ensures that the value matches a regular expression.Ensures that the value matches a regular expression.StringValidator.startsWith(String prefix) Ensures that the value starts with some prefix.