Package scriptella.driver.ldap
Class LdifScript
java.lang.Object
scriptella.driver.ldap.LdifScript
Executor for LDIF script.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Reader reader, DirContext ctx, ParametersCallback parameters) Executes an LDIF content from the specified reader.protected LongAccessor for testing purposesprotected boolean
-
Constructor Details
-
LdifScript
-
-
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
Accessor for testing purposes -
isReadonly
protected boolean isReadonly()
-