public class RandomString extends Object
Modifier and Type | Method and Description |
---|---|
static String |
nextString(int length)
Returns a random string with the symbol set [0-9a-z].
|
static String |
nextString(int length,
String symbolString)
Returns a random string.
|
public static String nextString(int length)
Returns a random string with the symbol set [0-9a-z].
length
- the length in characters the string is requestedCopyright © 2023. All rights reserved.