@Cacheable(value="base58uuid") public class Base58UUID extends Object
Cacheable using the cache named base58uuid. This annotation is contained in
the spring-context artifact, and in its absence at runtime, the classloader will simply ignore it.| Constructor and Description |
|---|
Base58UUID() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
decode(String base58) |
String |
encode(UUID uuid) |
String |
encodeUuidFromName(String name)
Convenience wrapper for converting a
String to a name-based UUID and returning the Base58-encoded value. |
public static final Charset UTF_8
public String encodeUuidFromName(String name)
String to a name-based UUID and returning the Base58-encoded value. The
String's characters are converted to bytes according to UTF-8.name - the name from which to construct a UUIDCopyright © 2019. All rights reserved.