Package com.unboundid.util

This package contains classes for performing various utility functions used throughout the LDAP SDK.

See:
          Description

Interface Summary
ByteString This interface defines a set of methods for treating a value as either a string or byte array.
 

Class Summary
AggregateInputStream This class provides an input stream implementation that can aggregate multiple input streams.
Base64 This class provides methods for encoding and decoding data in base64 as defined in RFC 4648.
ByteStringBuffer This class provides a growable byte array to which data can be appended.
ByteStringFactory This class provides a mechanism for creating ByteString values.
Debug This class provides a means of enabling and configuring debugging in the LDAP SDK.
LDAPSDKThreadFactory This class provides a thread factory implementation that may be used to create threads with a number of basic settings.
ObjectPair<F,S> This class provides a typed pair of objects.
StaticUtils This class provides a number of static utility functions.
SynchronizedSocketFactory This class provides an implementation of a Java socket factory that will wrap a provided socket factory but will synchronize on each use of that factory to ensure that only a single thread may use that factory to create a socket at any given time.
SynchronizedSSLSocketFactory This class provides an implementation of a Java socket factory that will wrap a provided socket factory but will synchronize on each use of that factory to ensure that only a single thread may use that factory to create a socket at any given time.
Validator This class provides a number of methods that can be used to enforce constraints on the behavior of SDK methods.
WakeableSleeper This class provides a utility that can be used to sleep for a specified period of time in a manner that allows it to be woken up if necessary.
WeakHashSet<T> This class provides a weak hash set, which maintains weak references to the elements it contains, so that they will be removed automatically once there are no more normal references to them.
 

Enum Summary
DebugType This enumeration defines a set of debugging types that are used by the LDAP SDK.
 

Exception Summary
LDAPSDKException This class serves as the base class for all custom checked exception types defined in the LDAP SDK.
LDAPSDKRuntimeException This class serves as the base class for all custom runtime exception types defined in the LDAP SDK.
LDAPSDKUsageException This class provides a runtime exception that may be thrown by the LDAP SDK if it detects a problem with the usage of the SDK itself (e.g., a null value provided for an argument that must not be null, or an argument value that violates a documented constraint).
 

Annotation Types Summary
InternalUseOnly This annotation type, may be used to mark a class, constructor, or method that is part of the LDAP SDK codebase to be for internal use only, and therefore something that should not be accessed by third-party code.
 

Package com.unboundid.util Description

This package contains classes for performing various utility functions used throughout the LDAP SDK. Most of the content is primarily for internal use within the SDK, but some components (in particular, the code for base64 encoding and decoding) may be useful to third-party code.