org.ldaptive.io
Class CharArrayValueTranscoder

java.lang.Object
  extended by org.ldaptive.io.AbstractStringValueTranscoder<char[]>
      extended by org.ldaptive.io.CharArrayValueTranscoder
All Implemented Interfaces:
ValueTranscoder<char[]>

public class CharArrayValueTranscoder
extends AbstractStringValueTranscoder<char[]>

Decodes and encodes a character array for use in an ldap attribute value.

Version:
$Revision: 2994 $ $Date: 2014-06-03 15:00:45 -0400 (Tue, 03 Jun 2014) $
Author:
Middleware Services

Constructor Summary
CharArrayValueTranscoder()
           
 
Method Summary
 char[] decodeStringValue(String value)
          Decodes the supplied ldap attribute value into a custom type.
 String 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.io.AbstractStringValueTranscoder
decodeBinaryValue, encodeBinaryValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharArrayValueTranscoder

public CharArrayValueTranscoder()
Method Detail

decodeStringValue

public char[] decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.

Parameters:
value - to decode
Returns:
decoded value

encodeStringValue

public String encodeStringValue(char[] value)
Encodes the supplied value into an ldap attribute value.

Parameters:
value - to encode
Returns:
encoded value

getType

public Class<char[]> getType()
Returns the type produced by this value transcoder.

Returns:
type produced by this value transcoder


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.