All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ldaptive.transcode.CharArrayValueTranscoder Maven / Gradle / Ivy

The newest version!
/* See LICENSE for licensing and NOTICE for copyright. */
package org.ldaptive.transcode;

/**
 * Decodes and encodes a character array for use in an ldap attribute value.
 *
 * @author  Middleware Services
 */
public class CharArrayValueTranscoder extends AbstractStringValueTranscoder
{


  @Override
  public char[] decodeStringValue(final String value)
  {
    return value.toCharArray();
  }


  @Override
  public String encodeStringValue(final char[] value)
  {
    return String.valueOf(value);
  }


  @Override
  public Class getType()
  {
    return char[].class;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy