org.pfsw.tools.beluga.ldap.directory
Class LDIFDirectoryLoader
java.lang.Object
org.pf.directory.ldif.LDIFLineProcessor
org.pf.directory.ldif.LDIFReader
org.pfsw.tools.beluga.ldap.directory.LDIFDirectoryLoader
- All Implemented Interfaces:
- org.pf.file.LineProcessor
public class LDIFDirectoryLoader
- extends org.pf.directory.ldif.LDIFReader
Loads LDIF data from a file into a Directory instance.
- Version:
- 1.1
- Author:
- Manfred Duchrow
Method Summary |
void |
loadInto(Directory directory,
org.pf.file.FileLocator fileLocator)
Load the LDIF data from the file specified by the given URL into the
given directory instance. |
Methods inherited from class org.pf.directory.ldif.LDIFReader |
n, read, read |
Methods inherited from class org.pf.directory.ldif.LDIFLineProcessor |
processLine |
LDIFDirectoryLoader
public LDIFDirectoryLoader(LoggerService aLogger)
- Initialize the new instance with default values.
loadInto
public void loadInto(Directory directory,
org.pf.file.FileLocator fileLocator)
- Load the LDIF data from the file specified by the given URL into the
given directory instance.
- Parameters:
directory
- The directory to where to add the datafileLocator
- The file to load the data from
Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.