Class LdifScript

java.lang.Object
scriptella.driver.ldap.LdifScript

public class LdifScript extends Object
Executor for LDIF script.
Version:
1.0
Author:
Fyodor Kupolov
  • Constructor Details

  • Method Details

    • execute

      public void execute(Reader reader, DirContext ctx, ParametersCallback parameters) throws LdapProviderException
      Executes an LDIF content from the specified reader.
      Parameters:
      reader - reader with LDIF content.
      Throws:
      LdapProviderException - if directory access failed.
    • getMaxFileLength

      protected Long getMaxFileLength()
      Accessor for testing purposes
    • isReadonly

      protected boolean isReadonly()