Class LDIFBaseContent

    • Constructor Detail

      • LDIFBaseContent

        public LDIFBaseContent()
        Blank constructor for deserialization
    • Method Detail

      • getControls

        public LDAPControl[] getControls()
        Retrieves the list of controls specified in the content of the LDIF record, if any
        Specified by:
        getControls in interface LDIFContent
        Returns:
        an array of LDAPControl objects that represent any controls specified in the the LDIF record, or null if none were specified.
      • setControls

        public void setControls​(LDAPControl[] controls)
        Sets the list of controls
        Specified by:
        setControls in interface LDIFContent
        Parameters:
        controls - an array of LDAPControl objects or null if none are to be specified
      • getControlString

        protected java.lang.String getControlString()
        Get the OIDs of all controls, if any, as a string
        Returns:
        the OIDs of all controls, if any, as a string, or an empty string if there are no controls.