public final class UUIDUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fromString(String uaid)
Tries to parse the passed-in uaid into a valid UUID.
|
static String |
newUAID()
Generates a new random UUID and returns the string representation of it.
|
static boolean |
nullOrEmpty(String uuid) |
public static boolean nullOrEmpty(String uuid)
public static String newUAID()
String the String representation of a new random UUID.public static String fromString(String uaid)
uaid - the UserAgentID string representation to be parsed.String the UserAgentID in UUID format representing the passed in uaid, or
a new UUID if the uaid was not in a valid UUID format.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.