public class ByteBufferToString extends java.lang.Object implements TypeAdapter<java.nio.ByteBuffer,java.lang.String>
| Constructor and Description |
|---|
ByteBufferToString() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
algorithmToUnderlying(java.nio.ByteBuffer algorithmValue)
Convert an object from the algorithm type to the underlying type.
|
void |
configure(MaskValueMetadata metadata)
Configure this type adapter.
|
MaskingAlgorithm.MaskingType |
getAlgorithmType()
Get the algorithm type of this type adapter.
|
UnderlyingDataType |
getUnderlyingType()
Get the underlying type of this type adapter.
|
java.nio.ByteBuffer |
underlyingToAlgorithm(java.lang.String underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdaptergetAlgorithmType in interface TypeAdapter<java.nio.ByteBuffer,java.lang.String>public UnderlyingDataType getUnderlyingType()
TypeAdaptergetUnderlyingType in interface TypeAdapter<java.nio.ByteBuffer,java.lang.String>public void configure(MaskValueMetadata metadata)
TypeAdapterconfigure in interface TypeAdapter<java.nio.ByteBuffer,java.lang.String>metadata - An interface providing methods to retrieve additional information about the
underlying typepublic java.lang.String algorithmToUnderlying(java.nio.ByteBuffer algorithmValue)
TypeAdapteralgorithmToUnderlying in interface TypeAdapter<java.nio.ByteBuffer,java.lang.String>algorithmValue - An object of the type referenced by getAlgorithmTypepublic java.nio.ByteBuffer underlyingToAlgorithm(java.lang.String underValue)
TypeAdapterunderlyingToAlgorithm in interface TypeAdapter<java.nio.ByteBuffer,java.lang.String>underValue - An object of the type referenced by getUnderlyingType