|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.tools.makeldif.MakeLDIF
public class MakeLDIF
This class defines a program that can be used to generate LDIF content based on a template.
Constructor Summary | |
---|---|
MakeLDIF()
Creates a new instance of this utility. |
Method Summary | |
---|---|
void |
closeEntryWriter()
Notifies the entry writer that no more entries will be provided and that any associated cleanup may be performed. |
static void |
main(java.lang.String[] args)
Invokes the makeLDIFMain method with the provided set of
arguments. |
int |
makeLDIFMain(java.lang.String[] args)
Processes the provided set of command-line arguments and begins generating the LDIF content. |
boolean |
writeEntry(Entry entry)
Writes the provided entry to the appropriate target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MakeLDIF()
makeLDIFMain
method.
Method Detail |
---|
public static void main(java.lang.String[] args)
makeLDIFMain
method with the provided set of
arguments.
args
- The command-line arguments provided for this program.public int makeLDIFMain(java.lang.String[] args)
args
- The command-line arguments provided for this program.
public boolean writeEntry(Entry entry) throws java.io.IOException, MakeLDIFException
writeEntry
in interface EntryWriter
entry
- The entry to be written.
true
if the entry writer will accept more entries, or
false
if not.
java.io.IOException
- If a problem occurs while writing the entry to its
intended destination.
MakeLDIFException
- If some other problem occurs.public void closeEntryWriter()
closeEntryWriter
in interface EntryWriter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |