T
- type of valuepublic interface ValueTranscoder<T>
Modifier and Type | Method and Description |
---|---|
T |
decodeBinaryValue(byte[] value)
Decodes the supplied ldap attribute value into a custom type.
|
T |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.
|
byte[] |
encodeBinaryValue(T value)
Encodes the supplied value into an ldap attribute value.
|
String |
encodeStringValue(T value)
Encodes the supplied value into an ldap attribute value.
|
Class<T> |
getType()
Returns the type produced by this value transcoder.
|
T decodeStringValue(String value)
value
- to decodeT decodeBinaryValue(byte[] value)
value
- to decodeString encodeStringValue(T value)
value
- to encodebyte[] encodeBinaryValue(T value)
value
- to encodeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.