Package org.ldaptive.transcode
Class CharArrayValueTranscoder
java.lang.Object
org.ldaptive.transcode.AbstractStringValueTranscoder<char[]>
org.ldaptive.transcode.CharArrayValueTranscoder
- All Implemented Interfaces:
ValueTranscoder<char[]>
Decodes and encodes a character array for use in an ldap attribute value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar[]decodeStringValue(String value) Decodes the supplied ldap attribute value into a custom type.encodeStringValue(char[] value) Encodes the supplied value into an ldap attribute value.Class<char[]>getType()Returns the type produced by this value transcoder.Methods inherited from class org.ldaptive.transcode.AbstractStringValueTranscoder
decodeBinaryValue, encodeBinaryValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ldaptive.transcode.ValueTranscoder
decoder, encoder
-
Constructor Details
-
CharArrayValueTranscoder
public CharArrayValueTranscoder()
-
-
Method Details
-
decodeStringValue
Description copied from interface:ValueTranscoderDecodes the supplied ldap attribute value into a custom type.- Parameters:
value- to decode- Returns:
- decoded value
-
encodeStringValue
Description copied from interface:ValueTranscoderEncodes the supplied value into an ldap attribute value.- Parameters:
value- to encode- Returns:
- encoded value
-
getType
Description copied from interface:ValueTranscoderReturns the type produced by this value transcoder.- Returns:
- type produced by this value transcoder
-