org.ldaptive.io.StringValueTranscoder Maven / Gradle / Ivy
/*
$Id: StringValueTranscoder.java 2994 2014-06-03 19:00:45Z dfisher $
Copyright (C) 2003-2014 Virginia Tech.
All rights reserved.
SEE LICENSE FOR MORE INFORMATION
Author: Middleware Services
Email: [email protected]
Version: $Revision: 2994 $
Updated: $Date: 2014-06-03 15:00:45 -0400 (Tue, 03 Jun 2014) $
*/
package org.ldaptive.io;
/**
* Decodes and encodes a string for use in an ldap attribute value.
*
* @author Middleware Services
* @version $Revision: 2994 $ $Date: 2014-06-03 15:00:45 -0400 (Tue, 03 Jun 2014) $
*/
public class StringValueTranscoder extends AbstractStringValueTranscoder
{
/** {@inheritDoc} */
@Override
public String decodeStringValue(final String value)
{
return value;
}
/** {@inheritDoc} */
@Override
public String encodeStringValue(final String value)
{
return value;
}
/** {@inheritDoc} */
@Override
public Class getType()
{
return String.class;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy