| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHARSET |
| Constructor and Description |
|---|
UUIDConverter() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
convert(Object source)
Convert the input to a UUID using the convenience method
getUUID(Object). |
static UUID |
getUUID(Object input)
Convenient utility to convert an object to a UUID.
|
public static final String DEFAULT_CHARSET
public UUID convert(Object source)
getUUID(Object).public static UUID getUUID(Object input)
UUID.fromString(String)UUID.nameUUIDFromBytes(byte[]) with
bytes generated from the inputUUID.nameUUIDFromBytes(byte[]) with
the serialized bytes of the inputinput - an ObjectCopyright © 2016. All rights reserved.