org.ldaptive.ad.io
Class DeltaTimeValueTranscoder
java.lang.Object
org.ldaptive.io.AbstractStringValueTranscoder<Long>
org.ldaptive.ad.io.DeltaTimeValueTranscoder
- All Implemented Interfaces:
- ValueTranscoder<Long>
public class DeltaTimeValueTranscoder
- extends AbstractStringValueTranscoder<Long>
Decodes and encodes an active directory delta time value for use in an ldap
attribute value.
- Version:
- $Revision: 3006 $ $Date: 2014-07-02 10:22:50 -0400 (Wed, 02 Jul 2014) $
- Author:
- Middleware Services
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeltaTimeValueTranscoder
public DeltaTimeValueTranscoder()
decodeStringValue
public Long decodeStringValue(String value)
- Decodes the supplied ldap attribute value into a custom type.
- Parameters:
value - to decode
- Returns:
- decoded value
encodeStringValue
public String encodeStringValue(Long value)
- Encodes the supplied value into an ldap attribute value.
- Parameters:
value - to encode
- Returns:
- encoded value
getType
public Class<Long> getType()
- Returns the type produced by this value transcoder.
- Returns:
- type produced by this value transcoder
Copyright © 2003-2017 Virginia Tech. All Rights Reserved.