org.pfsw.tools.beluga.ldap.directory
Class LDIFDirectoryLoader

java.lang.Object
  extended by org.pf.directory.ldif.LDIFLineProcessor
      extended by org.pf.directory.ldif.LDIFReader
          extended by 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

Constructor Summary
LDIFDirectoryLoader(LoggerService aLogger)
          Initialize the new instance with default values.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDIFDirectoryLoader

public LDIFDirectoryLoader(LoggerService aLogger)
Initialize the new instance with default values.

Method Detail

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 data
fileLocator - The file to load the data from


Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.