Package com.maker.idmaker
Class RandomValueUtil
java.lang.Object
com.maker.idmaker.RandomValueUtil
Utility class for creating random strings.
- Since:
- 2024. 5. 31.
- Author:
- yongjunhong
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createRandomEnglishString
(int length) Creates a random English string of the specified length.static String
createRandomKoreanString
(int length) Creates a random Korean string of the specified length.static String
createRandomMixedString
(int length) Creates a random mixed string of the specified length.static String
createRandomNumberString
(int length) Creates a random number string of the specified length.
-
Method Details
-
createRandomKoreanString
Creates a random Korean string of the specified length.- Parameters:
length
- the length of the string to generate- Returns:
- a random Korean string
-
createRandomEnglishString
Creates a random English string of the specified length.- Parameters:
length
- the length of the string to generate- Returns:
- a random English string
-
createRandomNumberString
Creates a random number string of the specified length.- Parameters:
length
- the length of the string to generate- Returns:
- a random number string
-
createRandomMixedString
Creates a random mixed string of the specified length.- Parameters:
length
- the length of the string to generate- Returns:
- a random mixed string
-