|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.util.UUIDGenerator
public final class UUIDGenerator
UUID generator. Generates a universally unique id based on the ip address of the computer and the current time. This class is a singleton.
| Method Summary | |
|---|---|
static void |
appendHexValue(java.lang.StringBuffer sb,
long value,
int digits)
Appends a hexadecimal value to the given string buffer. |
java.lang.String |
createUUID()
Creates a new UUID. |
static UUIDGenerator |
getInstance()
Gets the singleton instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UUIDGenerator getInstance()
public java.lang.String createUUID()
public static void appendHexValue(java.lang.StringBuffer sb,
long value,
int digits)
sb - String buffer to append tovalue - The value to appenddigits - Minimum number of digits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||