Uses of Interface
org.instancio.generator.specs.StringSpec
Packages that use StringSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of StringSpec in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return StringSpecModifier and TypeMethodDescriptionStringSpec.allowEmpty()StringSpec.allowEmpty(boolean isAllowed) StringSpec.alphaNumeric()StringSpec.digits()StringSpec.hex()Generates a hexadecimal string, uppercase by default, that consists of characters[0-9A-F]StringSpec.length(int length) StringSpec.length(int minLength, int maxLength) StringSpec.lowerCase()StringSpec.maxLength(int length) StringSpec.minLength(int length) StringSpec.mixedCase()StringSpec.nullable()StringSpec.numericSequence()Generates a string sequence that starts from"1"and increments by one.StringSpec.unicode(Character.UnicodeBlock... blocks) Generates a Unicode string that consists of random code points excluding the following character types:Character.PRIVATE_USECharacter.SURROGATECharacter.UNASSIGNEDStringSpec.upperCase() -
Uses of StringSpec in org.instancio.generators
Methods in org.instancio.generators that return StringSpec