Provides a number of utility libraries that are of general use.
Package SpecificationThe util-package provides a number of utility libraries that are of general use, and should not be JSPWiki-specific.
Interface Summary Interface Description CheckedSupplier<T,E extends java.lang.Exception>A
Suppliercousin that also throws Checked Exceptions.
Class Summary Class Description ByteUtilsA collection of static byte utility methods. ClassUtilContains useful utilities for class file manipulation. CommentedPropertiesExtends
Propertiesby providing support for comment preservation.
CryptoUtilHashes and verifies salted SHA-1 passwords, which are compliant with RFC 2307. FileUtilGeneric utilities related to file and stream handling. FormUtilA collection of (static) utilities used by the WikiForms code. HttpUtilContains useful utilities for some common HTTP tasks. MailUtilContains 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.
Authenticatorsubclass that authenticates a user to an SMTP server.
PriorityList<E>Builds a simple, priority-based List implementation. PropertiesUtilssome useful methods for properties PropertyReaderProperty Reader for the WikiEngine. SerializerProvides static helper functions for serializing different objects. TextUtilContains a number of static utility methods. TimedCounterList<T>Provides a List in which all items store their addition time. XhtmlUtilA utility class to generate XHTML objects and ultimately, serialised markup. XmlUtilUtility class to parse XML files.
Enum Summary Enum Description XHTMLProvides constants for the Extensible HyperText Markup Language (XHTML) 1.0.