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