public class RandomGUID extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
create() |
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 byte[] |
toByteArray(String uid)
Returns a byte array for the given uuid or guid.
|
public static final byte[] toByteArray(String uid)
uid - unique idpublic static String fromByteArray(byte[] ba)
ba - array of bytes containing the idpublic static String getPrettyFormatted(String str)
str - unformatted stringpublic static String create()
Copyright © 2005–2017 Red5. All rights reserved.