Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.util
Class LDIFLoader

java.lang.Object
  extended by oracle.ldap.util.LDIFLoader


public class LDIFLoader
extends java.lang.Object

Constructor Summary
LDIFLoader(javax.naming.directory.DirContext inCtx, java.lang.String inFileName, java.util.Vector inSubVector)
           
LDIFLoader(javax.naming.directory.DirContext inCtx, java.lang.String inFileName, java.util.Vector inSubVector, java.util.logging.Logger lgr)
          Constructor of the LdifLoader.

 

Method Summary
 void load()
          This performs the actual loading of the ldif files into the directory
 void load(boolean ignoreError, java.io.PrintStream pStream)
          Similar to load().

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LDIFLoader

public LDIFLoader(javax.naming.directory.DirContext inCtx,
                  java.lang.String inFileName,
                  java.util.Vector inSubVector,
                  java.util.logging.Logger lgr)
Constructor of the LdifLoader.
Parameters:
ctx - a valid DirContext
inFileName - the input file name to be loaded
inSubVector - the substitution vector

LDIFLoader

public LDIFLoader(javax.naming.directory.DirContext inCtx,
                  java.lang.String inFileName,
                  java.util.Vector inSubVector)

Method Detail

load

public void load()
          throws UtilException
This performs the actual loading of the ldif files into the directory
Throws:
UtilException

load

public void load(boolean ignoreError,
                 java.io.PrintStream pStream)
          throws UtilException
Similar to load(). The ignore parameter allows any LDAP errors to be ignore and the rest of LDIF entries to be loaded
Parameters:
ignore - set to true if errors are to be ignored
Throws:
UtilException

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.