scriptella.driver.ldap
Class LdifScript
java.lang.Object
scriptella.driver.ldap.LdifScript
public class LdifScript
- extends java.lang.Object
Executor for LDIF script.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
|
Method Summary |
void |
execute(java.io.Reader reader,
javax.naming.directory.DirContext ctx,
scriptella.spi.ParametersCallback parameters)
Executes an LDIF content from the specified reader. |
protected java.lang.Long |
getMaxFileLength()
Accessor for testing purposes |
protected boolean |
isReadonly()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdifScript
public LdifScript(LdapConnection connection)
execute
public void execute(java.io.Reader reader,
javax.naming.directory.DirContext ctx,
scriptella.spi.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 java.lang.Long getMaxFileLength()
- Accessor for testing purposes
isReadonly
protected boolean isReadonly()
Copyright © Copyright 2006-2009 The Scriptella Project Team.