org.ldaptive.ad.io
Class FileTimeValueTranscoder
java.lang.Object
org.ldaptive.io.AbstractStringValueTranscoder<Calendar>
org.ldaptive.ad.io.FileTimeValueTranscoder
- All Implemented Interfaces:
- ValueTranscoder<Calendar>
public class FileTimeValueTranscoder
- extends AbstractStringValueTranscoder<Calendar>
Decodes and encodes an active directory file 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 |
FileTimeValueTranscoder
public FileTimeValueTranscoder()
decodeStringValue
public Calendar decodeStringValue(String value)
- Decodes the supplied ldap attribute value into a custom type.
- Parameters:
value - to decode
- Returns:
- decoded value
encodeStringValue
public String encodeStringValue(Calendar value)
- Encodes the supplied value into an ldap attribute value.
- Parameters:
value - to encode
- Returns:
- encoded value
getType
public Class<Calendar> getType()
- Returns the type produced by this value transcoder.
- Returns:
- type produced by this value transcoder
Copyright © 2003-2015 Virginia Tech. All Rights Reserved.