public class IdGenerator extends Object
Constructor and Description |
---|
IdGenerator() |
IdGenerator(String prefix)
Construct an IdGenerator
|
Modifier and Type | Method and Description |
---|---|
String |
generateId()
Generate a unqiue id
|
String |
generateSanitizedId()
Generate a unique ID - that 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
|
public IdGenerator()
public IdGenerator(String prefix)
public static String getHostName()
public String generateId()
public String generateSanitizedId()
Apache CXF