com.unboundid.ldap.sdk.unboundidds
Class Launcher

java.lang.Object
  extended by com.unboundid.ldap.sdk.unboundidds.Launcher

@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class Launcher
extends java.lang.Object

NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.
This class provides an entry point that may be used to launch other tools provided as part of the LDAP SDK. This is primarily a convenience for someone who just has the jar file and none of the scripts, since you can run "java -jar unboundid-ldapsdk-se.jar {tool-name} {tool-args}" in order to invoke any of the example tools. Running just "java -jar unboundid-ldapsdk-se.jar" will display version information about the LDAP SDK.

The tool names are case-insensitive. Supported tool names include:


Method Summary
static ResultCode main(java.io.OutputStream outStream, java.io.OutputStream errStream, java.lang.String... args)
          Parses the command-line arguments and performs any appropriate processing for this program.
static void main(java.lang.String... args)
          Parses the command-line arguments and performs any appropriate processing for this program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String... args)
Parses the command-line arguments and performs any appropriate processing for this program.

Parameters:
args - The command-line arguments provided to this program.

main

public static ResultCode main(java.io.OutputStream outStream,
                              java.io.OutputStream errStream,
                              java.lang.String... args)
Parses the command-line arguments and performs any appropriate processing for this program.

Parameters:
outStream - The output stream to which standard out should be written. It may be null if output should be suppressed.
errStream - The output stream to which standard error should be written. It may be null if error messages should be suppressed.
args - The command-line arguments provided to this program.
Returns:
A result code with information about the status of processing.