Package com.unboundid.util
Class Launcher
- java.lang.Object
-
- com.unboundid.util.Launcher
-
@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class Launcher extends java.lang.Object
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:- 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.
- authrate -- Launch the
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultCodemain(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 voidmain(java.lang.String... args)Parses the command-line arguments and performs any appropriate processing for this program.
-
-
-
Method Detail
-
main
public static void main(@NotNull 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
@NotNull public static ResultCode main(@Nullable java.io.OutputStream outStream, @Nullable java.io.OutputStream errStream, @Nullable 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 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.
-
-