Uses of Interface
org.instancio.generator.specs.StringGeneratorSpec
Packages that use StringGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of StringGeneratorSpec in org.instancio.generator.specs
Subinterfaces of StringGeneratorSpec in org.instancio.generator.specsMethods in org.instancio.generator.specs that return StringGeneratorSpecModifier and TypeMethodDescriptionStringGeneratorSpec.allowEmpty()Indicates that an empty string can be generated.StringGeneratorSpec.allowEmpty(boolean isAllowed) Indicates if empty string can be generated.StringGeneratorSpec.alphaNumeric()Generates an alphanumeric string, uppercase by default, that consists of characters[0-9A-Z].StringGeneratorSpec.digits()Generates a string that consists of digits[0-9].StringGeneratorSpec.hex()Generates a hexadecimal string, uppercase by default, that consists of characters[0-9A-F]StringGeneratorSpec.length(int length) Specifies the length of the string to generate as returned byString.length(), or the number of code points when generating aunicode(UnicodeBlock...)string.StringGeneratorSpec.length(int minLength, int maxLength) Specifies the length of the string to generate as returned byString.length(), or the number of code points when generating aunicode(UnicodeBlock...)string.StringGeneratorSpec.lowerCase()Generates a lowercase string that consists of characters[a-z].StringGeneratorSpec.maxLength(int length) Specifies the maximum length of the string to generate as returned byString.length(), or the number of code points when generating aunicode(UnicodeBlock...)string.StringGeneratorSpec.minLength(int length) Specifies the minimum length of the string to generate as returned byString.length(), or the number of code points when generating aunicode(UnicodeBlock...)string.StringGeneratorSpec.mixedCase()Generates a string that consists of characters[A-Za-z].StringGeneratorSpec.nullable()Indicates thatnullvalue can be generated.StringGeneratorSpec.numericSequence()Generates a string sequence that starts from"1"and increments by one.Specifies the prefix to prepend to generated strings.Specifies the suffix to append to generated strings.StringGeneratorSpec.unicode(Character.UnicodeBlock... blocks) Generates a Unicode string that consists of random code points excluding the following character types:Character.PRIVATE_USECharacter.SURROGATECharacter.UNASSIGNEDStringGeneratorSpec.upperCase()Generates an uppercase string that consists of characters[A-Z]. -
Uses of StringGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return StringGeneratorSpec