Class RandomText

java.lang.Object
de.paull.lib.util.RandomText

public class RandomText extends Object
Random String generator
  • Constructor Details

    • RandomText

      public RandomText()
  • Method Details

    • generate

      public static String generate(int length)
      Returns a random generated String with letters and numbers
      Parameters:
      length - length of the String
      Returns:
      the random String
    • generateTextOnly

      public static String generateTextOnly(int length)
      Returns a random generated String with letters
      Parameters:
      length - length of the String
      Returns:
      the random String
    • generateNumbersOnly

      public static String generateNumbersOnly(int length)
      Returns a random generated String with numbers
      Parameters:
      length - length of the String
      Returns:
      the random String