public class UuidGenerator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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() |
public static java.lang.String getHostName()
public static java.lang.String generateSanitizedId(java.lang.String id)
id - the unique idpublic static java.lang.String getUUID()
public static UuidGenerator getInstance()
Copyright © 2014 Red Hat. All Rights Reserved.