public class GuidGen
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
GUID_LENGTH
The length of a raw GUID byte array 
 | 
| Constructor and Description | 
|---|
GuidGen()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
byteToHex(java.lang.StringBuffer buff, byte byteVal)
Coverts the specified byte value to a hexadecimal representaion, and appends this to the specified String buffer. 
 | 
static byte[] | 
toRaw(java.lang.String strUUID)
Convert a standard UUID string representation to a raw 16-byte UUID. 
 | 
static java.lang.String | 
toString(byte[] uuidRaw)
Convert a raw UUID to a standard string representation. 
 | 
static byte[] | 
uuidCreate()
Generate a raw 128-bit (16-byte) UUID. 
 | 
public static final int GUID_LENGTH
public static byte[] uuidCreate()
public static java.lang.String toString(byte[] uuidRaw)
uuidRaw - A raw 16-byte UUIDpublic static byte[] toRaw(java.lang.String strUUID)
strUUID - A standard string representation of a UUID
public static void byteToHex(java.lang.StringBuffer buff,
             byte byteVal)
buff - the StringBufferbyteVal - the byte value to be converted.