| Modifier and Type | Method and Description |
|---|---|
static String |
format8x4(UUID uuid)
Returns the given UUID formatted as a string of 8x4 hexadecimal digits separated by dashes.
|
static String |
formatBase58(UUID uuid)
Returns the given UUID formatted as a Base-58-encoded string.
|
static UUID |
fromBytes(byte[] bytes)
Returns a type 3 (name-based) UUID based on the given bytes.
|
static UUID |
fromString(String string)
Returns a type 3 (name-based) UUID based on the given string.
|
static UUID |
parse8x4(String string)
Parses an UUID from the given string of 8x4 hexadecimal digits separated by dashes.
|
static UUID |
parseBase58(String string)
Parses an UUID from the given Base-58-encoded string.
|
public static String format8x4(UUID uuid)
IllegalArgumentException - if uuid is nullpublic static String formatBase58(UUID uuid)
IllegalArgumentException - if uuid is nullpublic static UUID fromBytes(byte[] bytes)
IllegalArgumentException - if bytes are null or emptypublic static UUID fromString(String string)
IllegalArgumentException - if string is null or emptypublic static UUID parse8x4(String string)
IllegalArgumentException - if string is null or emptypublic static UUID parseBase58(String string)
IllegalArgumentException - if string is null