com.ca.directory.jxplorer
Class LdifImport
java.lang.Object
|
+--com.ca.directory.jxplorer.LdifImport
- public class LdifImport
- extends java.lang.Object
|
Method Summary |
protected void |
doFileRead(java.io.File readFile)
|
void |
openFile()
|
void |
readLdifTree(java.lang.String treeApex,
java.io.InputStream textStream,
java.lang.String origPrefix,
java.lang.String newPrefix,
Broker b,
DataQuery query)
Read a subtree from an ldif file, adding entries as
they are read... |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdifImport
public LdifImport(DataSource dataSource,
SmartTree mrTree,
java.awt.Frame owner,
SchemaBroker schema)
- Constructor for the LdifImport window. Takes a DN, and
a data modifier.
The constructor sets up the GUI, defining buttons and fields
and registering button listeners.
openFile
public void openFile()
doFileRead
protected void doFileRead(java.io.File readFile)
readLdifTree
public void readLdifTree(java.lang.String treeApex,
java.io.InputStream textStream,
java.lang.String origPrefix,
java.lang.String newPrefix,
Broker b,
DataQuery query)
- Read a subtree from an ldif file, adding entries as
they are read...
- Parameters:
treeApex - the root node of the sub tree to be written out.origPrefix - the original DN prefix, that may be modified
on write to be replacementPrefix. This may be
null if no action is to be taken.newPrefix - another DN to replace the originalPrefix.query - the DataQuery doing the import
- Returns:
- number of entries written