Class RandomStringGenerator

  • All Implemented Interfaces:
    java.io.Serializable

    public class RandomStringGenerator
    extends StringGenerator
    Random string generator.
    See Also:
    Serialized Form
    • Constructor Detail

      • RandomStringGenerator

        public RandomStringGenerator​(java.lang.String alphabet,
                                     java.security.SecureRandom random)
    • Method Detail

      • createString

        public java.lang.String createString​(int length)
        Generates a random string of a specified length.
        Specified by:
        createString in class StringGenerator