Class JPPFUuid

java.lang.Object
org.jppf.utils.JPPFUuid

public class JPPFUuid extends Object
Utility methods to generate UUIDs in various formats.
Author:
Laurent Cohen
  • Constructor Details

    • JPPFUuid

      public JPPFUuid()
  • Method Details

    • normalUUID

      public static String normalUUID()
      Create a UUID in a standard format as described in UUID.toString().
      Returns:
      a normalized UUID represented as a string.
    • normalUUID

      public static String normalUUID(boolean upper)
      Create a UUID in a standard format as described in UUID.toString().
      Parameters:
      upper - whether to return an uppercase string.
      Returns:
      a normalized UUID represented as a string.
    • hexUUID

      public static String hexUUID(boolean upper)
      Create a UUID in hexadecimal format.
      Parameters:
      upper - whether to return an uppercase string.
      Returns:
      a normalized UUID represented as a string.