Class RandomValueUtil

java.lang.Object
com.maker.idmaker.RandomValueUtil

public class RandomValueUtil extends Object
Utility class for creating random strings.
Since:
2024. 5. 31.
Author:
yongjunhong
  • Method Details

    • createRandomKoreanString

      public static String createRandomKoreanString(int length)
      Creates a random Korean string of the specified length.
      Parameters:
      length - the length of the string to generate
      Returns:
      a random Korean string
    • createRandomEnglishString

      public static String createRandomEnglishString(int length)
      Creates a random English string of the specified length.
      Parameters:
      length - the length of the string to generate
      Returns:
      a random English string
    • createRandomNumberString

      public static String createRandomNumberString(int length)
      Creates a random number string of the specified length.
      Parameters:
      length - the length of the string to generate
      Returns:
      a random number string
    • createRandomMixedString

      public static String createRandomMixedString(int length)
      Creates a random mixed string of the specified length.
      Parameters:
      length - the length of the string to generate
      Returns:
      a random mixed string