org.opends.server.backends.jeb
Class ExportJob

java.lang.Object
  extended by org.opends.server.backends.jeb.ExportJob

public class ExportJob
extends java.lang.Object

Export a JE backend to LDIF.


Constructor Summary
ExportJob(LDIFExportConfig exportConfig)
          Create a new export job.
 
Method Summary
 void exportLDIF(RootContainer rootContainer)
          Export entries from the backend to an LDIF file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportJob

public ExportJob(LDIFExportConfig exportConfig)
Create a new export job.

Parameters:
exportConfig - The requested LDIF export configuration.
Method Detail

exportLDIF

public void exportLDIF(RootContainer rootContainer)
                throws java.io.IOException,
                       LDIFException,
                       com.sleepycat.je.DatabaseException,
                       JebException
Export entries from the backend to an LDIF file.

Parameters:
rootContainer - The root container to export.
Throws:
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
java.io.IOException - If an I/O error occurs while writing an entry.
JebException - If an error occurs in the JE backend.
LDIFException - If an error occurs while trying to determine whether to write an entry.