public class DeltaTimeValueTranscoder extends AbstractStringValueTranscoder<Long>
Modifier and Type | Field and Description |
---|---|
private static long |
ONE_HUNDRED_NANOSECOND_INTERVAL
Delta time uses 100-nanosecond intervals.
|
Constructor and Description |
---|
DeltaTimeValueTranscoder() |
Modifier and Type | Method and Description |
---|---|
Long |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.
|
String |
encodeStringValue(Long value)
Encodes the supplied value into an ldap attribute value.
|
Class<Long> |
getType()
Returns the type produced by this value transcoder.
|
decodeBinaryValue, encodeBinaryValue
private static final long ONE_HUNDRED_NANOSECOND_INTERVAL
public Long decodeStringValue(String value)
ValueTranscoder
value
- to decodepublic String encodeStringValue(Long value)
ValueTranscoder
value
- to encodepublic Class<Long> getType()
ValueTranscoder
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.