Package org.opends.server.util


package org.opends.server.util
Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. Notable utility classes include:
  • StaticUtils.java -- a set of static methods that may be called to perform all kinds of useful operations on data (e.g., get a stack trace from an exception, or convert the contents of a byte array to a readable form).
  • Base64.java -- provides a mechanism for performing base64 encoding and decoding.
  • DynamicConstants.java -- a set of constants that are actually generated automatically at build time and reflect information about the time and conditions under which the server was built.
  • TimeThread.java -- provides a thread that will periodically retrieve the current time and format it in several common methods in an attempt to minimize the need to have multiple calls to System.currentTimeMillis() or new Date() whenever the time is needed. This thread updates internal variables several times each second, which should be sufficient for cases in which high-resolution timing is not required.
  • Class
    Description
    BSD MD5 Crypt algorithm, ported from C.
    Utility class used for manipulating OpenDJ instance, binary and data versions.
    Utility class for Collections.
    Implements a ScheduledExecutorService on top of a cached thread pool to achieve UNIX's cron-like capabilities.
    UNIX Crypt cipher, ported from the Sun OpenSolaris project.
    This class defines an e-mail message that may be sent to one or more recipients via SMTP.
    The MIME text subtype for the message body.
    This class defines an exception that may be thrown while attempting to parse LDIF content.
    This class provides the ability to read information from an LDIF file.
    This class provides an implementation of the Levenshtein distance algorithm, which may be used to determine the minimum number of changes required to transform one string into another.
    Utility class for getting the default number of worker threads.
    An AutoCloseable which must be closed in order to reset the thread name back to its previous value.
    This class is used to gather and display information from the runtime environment.
    Utility methods related to schema.
    Represents a password type, including a "not a password" value.
    This class defines a set of constants that may be referenced throughout the Directory Server source.
    Utility class for common SSL related setup.
    This class defines a number of static utility methods that may be used throughout the server.