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
AuthRate
tool. - base64 -- Launch the
Base64Tool
tool. - generate-schema-from-source -- Launch the
GenerateSchemaFromSource
tool. - generate-source-from-schema -- Launch the
GenerateSourceFromSchema
tool. - identify-references-to-missing-entries -- Launch the
IdentifyReferencesToMissingEntries
tool. - identify-unique-attribute-conflicts -- Launch the
IdentifyUniqueAttributeConflicts
tool. - indent-ldap-filter -- Launch the
IndentLDAPFilter
tool. - in-memory-directory-server -- Launch the
InMemoryDirectoryServerTool
tool. - ldapcompare -- Launch the
LDAPCompare
tool. - ldapmodify -- Launch the
LDAPModify
tool. - ldapsearch -- Launch the
LDAPSearch
tool. - ldap-debugger -- Launch the
LDAPDebugger
tool. - manage-certificates -- Launch the
ManageCertificates
tool. - modrate -- Launch the
ModRate
tool. - searchrate -- Launch the
SearchRate
tool. - search-and-mod-rate -- Launch the
SearchAndModRate
tool. - tls-cipher-suite-selector -- Launch the
TLSCipherSuiteSelector
tool. - transform-ldif -- Launch the
TransformLDIF
tool. - validate-ldif -- Launch the
ValidateLDIF
tool. - 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 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.
-
-
-
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 benull
if output should be suppressed.errStream
- The output stream to which standard error should be written. It may benull
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.
-
-