public class RandomGUID extends Object
Modifier and Type | Field and Description |
---|---|
String |
valueAfterMD5 |
String |
valueBeforeMD5 |
Constructor and Description |
---|
RandomGUID() |
RandomGUID(boolean secure) |
Modifier and Type | Method and Description |
---|---|
static String |
fromByteArray(byte[] ba)
Returns a uuid / guid for a given byte array.
|
static String |
getPrettyFormatted(String str)
Returns a nice neat formatted string.
|
static void |
main(String[] args) |
static byte[] |
toByteArray(String uid)
Returns a byte array for the given uuid or guid.
|
String |
toString() |
public static final byte[] toByteArray(String uid)
uid
- public static String fromByteArray(byte[] ba)
ba
- array of bytes containing the idpublic static String getPrettyFormatted(String str)
str
- unformatted stringpublic static void main(String[] args)
Copyright © 2006-2012 The Red5 Project