Package com.unboundid.util
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
"
The tool names are case-insensitive. Supported tool names include:
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:
- authrate -- Launch the
AuthRatetool. - base64 -- Launch the
Base64Tooltool. - generate-schema-from-source -- Launch the
GenerateSchemaFromSourcetool. - generate-source-from-schema -- Launch the
GenerateSourceFromSchematool. - identify-references-to-missing-entries -- Launch the
IdentifyReferencesToMissingEntriestool. - identify-unique-attribute-conflicts -- Launch the
IdentifyUniqueAttributeConflictstool. - indent-ldap-filter -- Launch the
IndentLDAPFiltertool. - in-memory-directory-server -- Launch the
InMemoryDirectoryServerTooltool. - ldapcompare -- Launch the
LDAPComparetool. - ldapmodify -- Launch the
LDAPModifytool. - ldapsearch -- Launch the
LDAPSearchtool. - ldap-debugger -- Launch the
LDAPDebuggertool. - ldifmodify -- Launch the
LDIFModifytool. - ldifsearch -- Launch the
LDIFSearchtool. - ldif-diff -- Launch the
LDIFDifftool. - manage-certificates -- Launch the
ManageCertificatestool. - modrate -- Launch the
ModRatetool. - searchrate -- Launch the
SearchRatetool. - search-and-mod-rate -- Launch the
SearchAndModRatetool. - tls-cipher-suite-selector -- Launch the
TLSCipherSuiteSelectortool. - transform-ldif -- Launch the
TransformLDIFtool. - validate-ldap-schema -- Launch the
ValidateLDAPSchematool. - validate-ldif -- Launch the
ValidateLDIFtool. - version -- Display version information for the LDAP SDK.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultCodemain(OutputStream outStream, OutputStream errStream, String... args) Parses the command-line arguments and performs any appropriate processing for this program.static voidParses the command-line arguments and performs any appropriate processing for this program.
-
Method Details
-
main
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 benullif output should be suppressed.errStream- The output stream to which standard error should be written. It may benullif 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.
-