org.apache.directory.server.protocol.shared.store
Interface LdifLoadFilter
- All Known Implementing Classes:
- Krb5KdcEntryFilter
- public interface LdifLoadFilter
A filter interface for the LDIF loader.
- Version:
- $Rev: 434432 $, $Date: 2006-08-24 18:52:26 +0200 (Thu, 24 Aug 2006) $
- Author:
- Apache Directory Project
Method Summary |
boolean |
filter(java.io.File file,
java.lang.String dn,
javax.naming.directory.Attributes entry,
javax.naming.directory.DirContext ctx)
Filters entries loaded from LDIF files by a LdifFileLoader. |
filter
public boolean filter(java.io.File file,
java.lang.String dn,
javax.naming.directory.Attributes entry,
javax.naming.directory.DirContext ctx)
throws javax.naming.NamingException
- Filters entries loaded from LDIF files by a LdifFileLoader.
- Parameters:
file
- the file being loadeddn
- the distinguished name of the entry being loadedentry
- the entry attributes within the LDIF filectx
- context to be used for loading the entry into the DIT
- Returns:
- true if the entry will be created in the DIT, false if it is to be skipped
- Throws:
javax.naming.NamingException