public class Uuid extends Object
| Modifier and Type | Method and Description |
|---|---|
static Uuid |
generate() |
static boolean |
isValidUUID(String uuid)
Returns true if and only if uuid matches the pattern for valid UUIDs.
|
static boolean |
isValidUUIDURN(String uuidURN)
Returns true if and only if uuidURN matches the pattern for valid UUID URNs.
|
String |
toString() |
public static Uuid generate()
public static boolean isValidUUID(String uuid)
uuid - the String to check.true if and only if the specified.
String matches the pattern; false otherwise.public static boolean isValidUUIDURN(String uuidURN)
uuidURN - the String to check.true if and only if the specified.
String matches the pattern; false otherwise.Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.