@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class Launcher extends java.lang.Object
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.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
AuthRate
tool.Base64Tool
tool.CollectSupportData
tool.CompareLDAPSchemas
tool.DeliverOneTimePassword
tool.DeliverPasswordResetToken
tool.DumpDNs
tool.GenerateSchemaFromSource
tool.GenerateSourceFromSchema
tool.GenerateTOTPSharedSecret
tool.IdentifyReferencesToMissingEntries
tool.IdentifyUniqueAttributeConflicts
tool.IndentLDAPFilter
tool.InMemoryDirectoryServerTool
tool.LDAPCompare
tool.LDAPDelete
tool.LDAPModify
tool.LDAPPasswordModify
tool.LDAPSearch
tool.LDAPDebugger
tool.LDAPDiff
tool.LDAPResultCode
tool.LDIFModify
tool.LDIFSearch
tool.LDIFDiff
tool.ManageAccount
tool.ManageCertificates
tool.ModRate
tool.MoveSubtree
tool.OIDLookup
tool.ParallelUpdate
tool.RegisterYubiKeyOTPDevice
tool.SearchRate
tool.SearchAndModRate
tool.SplitLDIF
tool.SubtreeAccessibility
tool.SummarizeAccessLog
tool.TLSCipherSuiteSelector
tool.TLSCipherSuiteSelector
tool.TransformLDIF
tool.ValidateLDAPSchema
tool.ValidateLDIF
tool.Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Class<? extends CommandLineTool>> |
getToolClasses()
Retrieves a list of all of the classes that provide the implementations for
all of the command-line tools included with the LDAP SDK.
|
static CommandLineTool |
getToolInstance(java.lang.Class<?> toolClass,
java.io.OutputStream outStream,
java.io.OutputStream errStream)
Retrieves an instance of the specified type of command-line tool with the
given output and error streams.
|
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.
|
public static void main(@NotNull java.lang.String... args)
args
- The command-line arguments provided to this program.@NotNull public static ResultCode main(@Nullable java.io.OutputStream outStream, @Nullable java.io.OutputStream errStream, @NotNull java.lang.String... args)
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.@NotNull public static java.util.List<java.lang.Class<? extends CommandLineTool>> getToolClasses()
@NotNull public static CommandLineTool getToolInstance(@NotNull java.lang.Class<?> toolClass, @Nullable java.io.OutputStream outStream, @Nullable java.io.OutputStream errStream) throws LDAPException
null
OutputStream
to use for standard output, and the second argument is
a possibly-null
OutputStream
to use for standard error.toolClass
- The class that provides the implementation for the
desired command-line tool.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.LDAPException
- If a problem occurs while attempting to create an
instance of the requested tool.