|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.UuidGenerator
public class UuidGenerator
Generator for Globally unique Strings.
| Constructor Summary | |
|---|---|
UuidGenerator()
|
|
UuidGenerator(String prefix)
|
|
| Method Summary | |
|---|---|
String |
generateId()
Generate a unqiue id |
String |
generateSanitizedId()
Generate a unique ID - that is friendly for a URL or file system |
static String |
generateSanitizedId(String id)
Ensures that the id is friendly for a URL or file system |
static 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UuidGenerator(String prefix)
public UuidGenerator()
| Method Detail |
|---|
public static String getHostName()
public String generateId()
public String generateSanitizedId()
public static String generateSanitizedId(String id)
id - the unique id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||