Package org.jivesoftware.util
Utility classes.
-
Interface Summary Interface Description CertificateEventListener Interface to listen for certificate events.Encryptor PropertyEventListener Interface to listen for property events. -
Class Summary Class Description AesEncryptor Utility class providing symmetric AES encryption/decryption.AutoCloseableReentrantLock AReentrantLock
lock that can be unlocked using anAutoCloseable
.AutoCloseableReentrantLock.AutoCloseableLock Base64 Encodes and decodes to and from Base64 notation.Base64.InputStream ABase64.InputStream
will read data from anotherjava.io.InputStream
, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64.OutputStream ABase64.OutputStream
will write data to anotherjava.io.OutputStream
, given in the constructor, and encode/decode to/from Base64 notation on the fly.BeanUtils A utility class that provides methods that are useful for dealing with Java Beans.Blowfish A class that provides easy Blowfish encryption.ByteFormat A formatter for formatting byte sizes.CacheableOptional<T extends Serializable> Some times it is desirable to store in aCache
the absence of a value.CertificateManager Utility class that provides similar functionality to the keytool tool.ClassUtils A utility class to assist with loading classes or resources by name.CollectionUtils A utility class that provides re-usable functionality that relates to Java collections.ConcurrentHashSet<E> Deprecated. UseConcurrentHashMap.newKeySet()
instead.CookieUtils ElementUtil We use a simple naming convention of meta-data key names: data is stored heirarchically separated by dots.EmailService A service to send email.FastDateFormat Similar toSimpleDateFormat
, but faster and thread-safe.FaviconServlet Servlet that gets favicons of webservers and includes them in HTTP responses.GraphicsUtils Utilities for working with graphics-related data.ImmediateFuture<T> A Future that returns immediately.JavaSpecVersion Holds version information for Java specification (a major and minor version, eg: 1.8, or just a number, eg: 11).JiveBeanInfo An abstract BeanInfo implementation that automatically constructs PropertyDescriptors and handles i18n through ResourceBundles.JiveConstants Contains constant values representing various objects in Jive.JiveGlobals Controls Jive properties.JiveInitialLdapContext A class that extends the Java's InitialLdapContext class with two properties to store the SSLSession and the StartTlsResponse objects.JiveProperties Retrieves and stores Jive properties.LinkedList<E> Simple LinkedList implementation.LinkedListNode<E> Doubly linked node in a LinkedList.ListPager<T> This class provides an easy way to page through a filterable list of items from a JSP page.LocaleFilter Sets the locale context-wide.LocaleUtils A set of methods for retrieving and converting locale specific strings and numbers.Log Openfire makes use of a logging facade (slf4j) to manage its log output.NamedThreadFactory A thread factory that allows threads to be named.ParamUtils Assists JSP writers in getting parameters and attributes.PersistableMap<K,V> This acts as a tag interface.PropertyClusterEventTask This task updates or deletes a property in a cluster node's property map.PropertyEventDispatcher Dispatches property events.S2STestService Runs server to server test.SetCharacterEncodingFilter Sets the character encoding to UTF-8.SimpleSSLSocketFactory SSLSocketFactory that accepts any certificate chain and also accepts expired certificates.SmsService A service to send SMS messages.StringUtils Utility class to perform common String manipulation algorithms.SystemProperty<T> Represents a system property - also accessible viaJiveGlobals
.SystemProperty.Builder<T> Used to build aSystemProperty
TaskEngine Performs tasks using worker threads.Version Holds version information for Openfire.WebBean WebManager A utility bean for Openfire admin console pages.WebXmlUtils Utilities to extract data from a web.xml file.XMLProperties Provides the the ability to use simple XML property files.XMLWriter Replacement class of the original XMLWriter.java (version: 1.77) since the original is still using StringBuffer which is not fast.XMPPDateTimeFormat -
Enum Summary Enum Description PropertyEventDispatcher.EventType Represents valid event types.Version.ReleaseStatus A class to represent the release status of the server. -
Exception Summary Exception Description AlreadyExistsException Flags an exception when something to be created or added already exists.HTTPConnectionException Exception class that wraps an HTTP error code.InitializationException Exception thrown during application or component initialization failure.ModificationNotAllowedException Exception thrown when a modification was not allowed.NotFoundException Flags an exception when something requested is not found.