public class RandomStringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
random(int length)
Generate a random string with ASCII letters and digits.
|
static String |
randomLetters(int length)
Generate a random string with ASCII letters.
|
static String |
randomNumeric(int length)
Generate a random string with ASCII digits.
|
public static String random(int length)
length - length of the generated stringpublic static String randomLetters(int length)
length - length of the generated stringpublic static String randomNumeric(int length)
length - length of the generated stringCopyright © 2019 OpenEstate. All rights reserved.