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.BuilderRandomStringGenerator.Builder. filteredBy(CharacterPredicate... predicates)Limits the characters in the generated string to those that match at least one of the predicates supplied.RandomStringGenerator.BuilderRandomStringGenerator.Builder. selectFrom(char... chars)Limits the characters in the generated string to those who match at supplied list of Character.RandomStringGenerator.BuilderRandomStringGenerator.Builder. usingRandom(TextRandomProvider random)Overrides the default source of randomness.RandomStringGenerator.BuilderRandomStringGenerator.Builder. withinRange(char[]... pairs)Specifies the array of minimum and maximum char allowed in the generated string.RandomStringGenerator.BuilderRandomStringGenerator.Builder. withinRange(int minimumCodePoint, int maximumCodePoint)Specifies the minimum and maximum code points allowed in the generated string.