Uses of Class
org.apache.commons.text.RandomStringGenerator.Builder
Package | Description |
---|---|
org.apache.commons.text |
Basic classes for text handling.
|
-
Uses of RandomStringGenerator.Builder in org.apache.commons.text
Methods in org.apache.commons.text that return RandomStringGenerator.Builder Modifier and Type Method Description RandomStringGenerator.Builder
RandomStringGenerator.Builder. filteredBy(CharacterPredicate... predicates)
Limits the characters in the generated string to those that match at least one of the predicates supplied.RandomStringGenerator.Builder
RandomStringGenerator.Builder. selectFrom(char... chars)
Limits the characters in the generated string to those who match at supplied list of Character.RandomStringGenerator.Builder
RandomStringGenerator.Builder. usingRandom(TextRandomProvider random)
Overrides the default source of randomness.RandomStringGenerator.Builder
RandomStringGenerator.Builder. withinRange(char[]... pairs)
Specifies the array of minimum and maximum char allowed in the generated string.RandomStringGenerator.Builder
RandomStringGenerator.Builder. withinRange(int minimumCodePoint, int maximumCodePoint)
Specifies the minimum and maximum code points allowed in the generated string.