Class Util


  • public final class Util
    extends java.lang.Object
    Utility class which generates unique string identifiers.
    • Constructor Summary

      Constructors 
      Constructor Description
      Util()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String generateUUID​(java.lang.String prefix)
      Generates a UUID string identifier.
      • Methods inherited from class java.lang.Object

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

      • Util

        public Util()
    • Method Detail

      • generateUUID

        public static final java.lang.String generateUUID​(java.lang.String prefix)
        Generates a UUID string identifier.
        Parameters:
        prefix - - prefix of uniquely generated string; may be null, in which case “null” is the prefix used.
        Returns:
        a UUID string with given prefix