|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.fabric.dosgi.util.UuidGenerator
public class UuidGenerator
A unique ID generator which is a fast implementation based on how
| Method Summary | |
|---|---|
static java.lang.String |
generateSanitizedId(java.lang.String id)
Ensures that the id is friendly for a URL or file system |
static java.lang.String |
getHostName()
As we have to find the hostname as a side-affect of generating a unique stub, we allow it's easy retrevial here |
static UuidGenerator |
getInstance()
|
static java.lang.String |
getUUID()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getHostName()
public static java.lang.String generateSanitizedId(java.lang.String id)
id - the unique id
public static java.lang.String getUUID()
public static UuidGenerator getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||