Package net.messagevortex.transport
Class RandomString
java.lang.Object
net.messagevortex.transport.RandomString
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringnextString(int length) Returns a random string with the symbol set [0-9a-z].static StringnextString(int length, String symbolString) Returns a random string.
-
Method Details
-
nextString
Returns a random string with the symbol set [0-9a-z].
- Parameters:
length- the length in characters the string is requested- Returns:
- the requested random string
-
nextString
Returns a random string.
- Parameters:
length- the length in characters the string is requestedsymbolString- the allowed symbols for the string- Returns:
- the requested random string
-