Package io.jmix.ui.navigation
Class CrockfordUuidEncoder
java.lang.Object
io.jmix.ui.navigation.CrockfordUuidEncoder
Crockford Base32 encoding implementation that is used to serialize UUID values.
- See Also:
-
Field Summary
-
Method Summary
-
Field Details
-
INVALID_CHAR
protected static final int INVALID_CHAR- See Also:
-
BASE
protected static final int BASE- See Also:
-
CROCKFORD_CHARSET
- See Also:
-
ENCODE_TABLE
protected static final char[] ENCODE_TABLE -
DECODE_TABLE
protected static final int[] DECODE_TABLE -
STRING_UUID_SPLIT_REGEX
- See Also:
-
STRING_UUID_SPLIT_PATTERN
-
-
Method Details
-
encode
Performs Base32 encoding for the givenuuid
.- Parameters:
uuid
- UUID- Returns:
- Base32 encoded string
-
decode
Performs Base32 decoding for the givenencoded
string.- Parameters:
encoded
- encoded string- Returns:
- decoded UUID
-
parseUuid
-
correct
-
buildEncodeTable
protected static void buildEncodeTable() -
buildDecodeTable
protected static void buildDecodeTable()
-