Class Launcher

java.lang.Object
com.unboundid.util.Launcher

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.jar {tool-name} {tool-args}" in order to invoke any of the example tools. Running just "java -jar unboundid-ldapsdk.jar" will display version information about the LDAP SDK.

The tool names are case-insensitive. Supported tool names include:
  • Method Details

    • main

      public static void main(@NotNull 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

      @NotNull public static ResultCode main(@Nullable OutputStream outStream, @Nullable OutputStream errStream, @Nullable 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.