Class RandomString

java.lang.Object
type.RandomString

public class RandomString extends Object
Generates a random string of a given length | Génère une chaîne de caractères aléatoire d'une longueur donnée.
Author:
FIGUEIRAS Jossua
  • Constructor Summary

    Constructors
    Constructor
    Description
    RandomString(int length)
    Constructs a random string of specified length | Construit une chaîne aléatoire de longueur spécifiée.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the generated random string | Retourne la chaîne aléatoire générée.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RandomString

      public RandomString(int length)
      Constructs a random string of specified length | Construit une chaîne aléatoire de longueur spécifiée.
      Parameters:
      length - the length of the random string | la longueur de la chaîne aléatoire
  • Method Details

    • getString

      public String getString()
      Returns the generated random string | Retourne la chaîne aléatoire générée.
      Returns:
      the generated random string | la chaîne aléatoire générée