# Package org.apache.wiki.util

package org.apache.wiki.util
Provides a number of utility libraries that are of general use.

## Package Specification

The util-package provides a number of utility libraries that are of general use, and should not be JSPWiki-specific.

## Related Documentation

Related Packages
Package
Description
org.apache.wiki.util.comparators
Class
Description
ByteUtils
A collection of static byte utility methods.
CheckedSupplier<T,E extends Exception>
A `Supplier` cousin that also throws Checked Exceptions.
ClassUtil
Contains useful utilities for class file manipulation.
CommentedProperties
Extends `Properties` by providing support for comment preservation.
CryptoUtil
Hashes and verifies salted SHA-1 passwords, which are compliant with RFC 2307.
FileUtil
Generic utilities related to file and stream handling.
FormUtil
A collection of (static) utilities used by the WikiForms code.
HttpUtil
Contains useful utilities for some common HTTP tasks.
MailUtil
Contains static methods for sending e-mails to recipients using JNDI-supplied JavaMail Sessions supplied by a web container (preferred) or configured via `jspwiki.properties`; both methods are described below.
MailUtil.SmtpAuthenticator
Simple `Authenticator` subclass that authenticates a user to an SMTP server.
PriorityList<E>
Builds a simple, priority-based List implementation.
PropertiesUtils
some useful methods for properties
PropertyReader
Property Reader for the WikiEngine.
Serializer
Provides static helper functions for serializing different objects.
TextUtil
Contains a number of static utility methods.
TimedCounterList<T>
Provides a List in which all items store their addition time.
URIScheme
Enumerates supported URI schemes.
XHTML
Provides constants for the Extensible HyperText Markup Language (XHTML) 1.0.
XhtmlUtil
A utility class to generate XHTML objects and ultimately, serialised markup.
XmlUtil
Utility class to parse XML files.