Package org.dashbuilder.dataset.uuid
Interface UUIDGenerator
-
public interface UUIDGeneratorInterface for the generation of UUIDs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringnewUuid()Creates a brand new UUIDStringnewUuidBase64()Creates a brand new UUID in base-64 and without characters forbidden in URLs (plus sign, equal, slash and ampersand)StringuuidFromBase64(String str)Converts back a base-64 and URL-safe string to its original 36 character representation.StringuuidToBase64(String str)Converts an un-encoded 36 character UUID to a base-64 and URL-safe string.
-
-
-
Method Detail
-
newUuid
String newUuid()
Creates a brand new UUID- Returns:
- A 36 character length string
-
newUuidBase64
String newUuidBase64()
Creates a brand new UUID in base-64 and without characters forbidden in URLs (plus sign, equal, slash and ampersand)- Returns:
- A 22 character length, base-64 and URL-safe string
-
uuidToBase64
String uuidToBase64(String str)
Converts an un-encoded 36 character UUID to a base-64 and URL-safe string.
-
-