Class CrockfordUuidEncoder

java.lang.Object
io.jmix.flowui.screen.navigation.CrockfordUuidEncoder

public final class CrockfordUuidEncoder extends Object
Crockford Base32 encoding implementation that is used to serialize UUID values.

Crockford Base32 encoding

See Also:
  • Method Details

    • encode

      public static String encode(UUID uuid)
      Performs Base32 encoding for the given uuid.
      Parameters:
      uuid - UUID
      Returns:
      Base32 encoded string
    • decode

      public static UUID decode(String encoded)
      Performs Base32 decoding for the given encoded string.
      Parameters:
      encoded - encoded string
      Returns:
      decoded UUID