Class UuidUtils

java.lang.Object
ch.tocco.nice2.toolbox.api.uuid.UuidUtils

public class UuidUtils extends Object
Provides helper functions to work with UUIDs.
  • Method Details

    • mask

      public static String mask(UUID uuid)
      Masks a UUID and returns its string representation. For example "2cfce005-62b4-49d2-b98c-03225db97b8f" becomes "2cfc****-****-****-****-********7b8f"
      Parameters:
      uuid - the UUID to be masked
      Returns:
      a masked UUID