@API(status=INTERNAL,
since="4.12")
public class UniqueIdStringifier
extends java.lang.Object
implements java.util.function.Function<java.io.Serializable,java.lang.String>
Modifier and Type | Field and Description |
---|---|
(package private) static java.nio.charset.Charset |
CHARSET |
Constructor and Description |
---|
UniqueIdStringifier() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(java.io.Serializable uniqueId) |
private java.lang.String |
encodeBase64(byte[] bytes) |
private byte[] |
serialize(java.io.Serializable uniqueId) |
public java.lang.String apply(java.io.Serializable uniqueId)
apply
in interface java.util.function.Function<java.io.Serializable,java.lang.String>
private byte[] serialize(java.io.Serializable uniqueId)
private java.lang.String encodeBase64(byte[] bytes)