Package com.atlassian.confluence.util
package com.atlassian.confluence.util
-
ClassDescriptionAbstact filter class which will delegate to a particular filter once the container manager is setup.Logs the username and request URL via log4j.Utilities for aspect oriented programmingDeprecated, for removal: This API element is subject to removal in a future version.Comparator for
Attachment
s based on file names in the given locale.Translates mime types for attachments.Migrates Confluence global and space configuration data from the file system into the database Specifically, the confluence-global.bandana.xml file and space config data contained in directories underneath the 'config' folderWraps a boolean supplier to prevent the returned value from changing once 'tripped'.Classpath discovery utilitiesProvides an alternative to AutoCloseable that removes the throws clause on the close() method.If clustering is enabled, adds a custom HTTP header (ResponseHeaderNames.CLUSTER_NODE_IDENTIFIER
}) to the response to indicate which node is handling the request.Utilities for clusteringColor manipulation utilitiesThis class caters for encoding of url strings for the following protocols: - file - http (see RFC 2396 for reference)This is a simple stub class to return the context path we have cached, used in Velocity templates when we don't _actually_ have a request.Utilities for rendering Confluence wiki content.This class loader tries to load classes from the application class loader first before delegating to the plugins class loader.Defines common functions that are carried out for macros that display list of content (e.g.<class-comment/>Default implementation of theClock
interface that simply returns a newDate
instance.Thread-safe class for tracking progress.A progress meter to be used in situations where the total cannot be determined efficiently or conveniently up front.Defines common functions that obtain excerpts of content (e.g.Deprecated.since 7.20Extension ofVelocityUtil
that contain methods that are not needed or safe for use in Velocity templates.Portions of this class copied from Apache commons-lang StringEscapeUtils -- it was easier to copy the relevant bits than it was to upgrade commons-lang to 2.0 :)A utility class that will take a String formatted as HTML and remove all tags and attributes leaving only the text nodes and CData content intact.Utility class for encoding and decoding HTML and URL strings.Deprecated.since 5.2 UseI18NBeanFactory.getI18NBean()
An abstraction around the system resources-lated methods inRuntime
, to allow easier testing.Utility class designed to assist dealing with the client interface.This class provides helper methods to retrieve layout templates and handles a few basic theme tasks.Calculates the number of Users in a Confluence instance.Servlet filter that adds some relevant contextual information to the Log4J Mapped Diagnostic ContextXWork interceptor that adds some relevant XWork context to the Log4J Mapped Diagnostic ContextLogs uncaught exceptions.Will report progress to logLazily loads the component from theContainerManager
and memoize the result.Mobile utility class.A class for performing diagnostics on the multicast routing table of the current hostLog4J reporting strategyReporting strategy interface for reporting problems encountered during the testProvider for creating JacksonObjectMapper
instances.This util helps plugins to do shady things directly with OSGi.A thread local to determine what the intended output type of the executing thread will be.Static methods for the conversion of text to HTML.Calculates the number of Users in a Confluence instance.Threadlocal for caching objects that must survive the whole HTTP request.Servlet filter for initialising and cleaning up the RequestCacheThreadLocal.This enum is to classify search terms in the user management search box.AnIterable
wrapper for an iterator.Order spaces by name, or by key if the names are the same.Deprecated.since 5.9.Deprecated, for removal: This API element is subject to removal in a future version.since 9.4, useStrutsHelper
instead.Allow us to break a single ProgressMeter to several ProgressMeter.Builds a zip of important files for use in a support request.Helper class to centrally handle the creation of temporary directoriesDeprecated.Since 5.4.Contains url utility methods.Utility class for UserAgents sniffing.Servlet filter that adds the currently logged in user to the Log4J Mapped Diagnostic ContextAdds the current remote user as a header (X-AUSERNAME) to the response.Makes sure the current user is always in the AuthenticatedUserThreadLocal at the beginning of a request, and is cleared at the end.Utility class for use in Velocity templates.Copied from Fisheye com.cenqua.fisheye.util.Zipper User: pkamal Date: Oct 16, 2009 Time: 1:46:08 PM To change this template use File | Settings | File Templates.Callback that allows to transform/exchange the file to be added to the zip file.
AttachmentUploadHelper
instead.