Class AbstractBinaryAttributeHandler<T>

  • Type Parameters:
    T - type of object to handle
    All Implemented Interfaces:
    java.util.function.Function<T,​T>
    Direct Known Subclasses:
    ObjectGuidHandler, ObjectSidHandler

    public abstract class AbstractBinaryAttributeHandler<T>
    extends AbstractEntryHandler<T>
    Base class for entry handlers that convert a binary attribute to it's string form.
    Author:
    Middleware Services
    • Constructor Detail

      • AbstractBinaryAttributeHandler

        public AbstractBinaryAttributeHandler()
    • Method Detail

      • getAttributeName

        public java.lang.String getAttributeName()
        Returns the attribute name to convert from binary to string.
        Returns:
        attribute name
      • setAttributeName

        public void setAttributeName​(java.lang.String name)
        Sets the attribute name to convert from binary to string.
        Parameters:
        name - of the attribute
      • convertValue

        protected abstract java.lang.String convertValue​(byte[] value)
        Converts the supplied binary value to it's string form.
        Parameters:
        value - to convert
        Returns:
        string form of the value