Package org.opencms.util
package org.opencms.util
Utility functions for String manipulation and other often used tasks.
- Since:
- 6.0.0
-
ClassDescriptionBase class for all integer mode enumeration classes.Base class for all string mode enumeration classes.A DataSource backed by a byte array.Provides Map wrapping utility functions for Java generics.Wrapper for lazy maps providing a better containsKey implementation.CmsConstantMap<K,
V> Returns the constant Object the map was initialized with for allCmsConstantMap.get(Object)
calls, regardless of what the actual key is.Utilities to handle basic data types.Utilities to get and set formated dates in OpenCms.A utility class used for keeping track of a set of objects.Simple utility class for caching a single value with a given cache expiration time.Provides File utility functions.Data bean which walkFileSystem passes to its callback.Utility methods for processing geo coordinates.Extracts the HTML page content.HTML cleaner and pretty printer.HTML cleaner and pretty printer using JTidy.Represents a single HTML converter configuration as defined in the OpenCms configuration fileopencms-vfs.xml
.Extracts plain text from HTML.Base utility class for OpenCms
implementations, which provides some often used utility functions.NodeVisitor
Simple html tag stripper that allows configuration of html tag names that are allowed.A tag factory for htmlparser that is able to "remove tags".Validates HTML.Utility class for JSON-related functions.Utilities for dealing with log4j loggers.Resolves macros in the form of%(key)
or${key}
in an input String.CmsManyToOneMap<K,V> Special collection class which allows lookup from keys to values and from values to sets of keys.A
with an arbitrary name which is misused for avoiding the creation of the corresponding end tag in case the HTML to parse is not balanced.TagNode
Wrapper around ConcurrentHashMap which allows null values.CmsPair<A,B> Generic pair class.This class is responsible for automatically escaping parameters in Flex requests.Simple data holder class which stores a path in a normalized form.CmsPathMap<V>Data structure which stores contents indexed by path.CmsPathTree<P,V> Tree used to represent file system like data structures.Provides utility functions for dealing with values a
.HttpServletRequest
Provides a resource name / path translation facility.Used to signal issues with the real local file system (RFS), for example during file access.The representation of a RFS file along with the settings to provide access to certain portions (amount of lines) of it.Provides String utility functions.Compares two Strings according to the count of containing slashes.Helper class for building diagnostics code that tracks potentially long running operations.Thread local stack.CmsTreeNode<T>Generic tree node which can contain an object of generic type T as data, and which has a mutable list of child nodes.Splits an URI String into separate components.Generates a UUID using spatial and temporal uniqueness.GWT serializer forCmsUUID
.Provides Vfs utility functions.Low-level utility class used for waiting for an action performed by another thread.Simple SAX event handler that generates a XML (or HTML) file from the events caught.Provides utility functions for XSLT transformations.Closeable interface that throws no exceptions.HTML converters can be used to clean up HTML code and/or pretty print the code.Interface for a combination of a visitor of HTML documents along with the hook to start the parser / lexer that triggers the visit.Describes a macro mapper, which is used to efficiently resolve macros in the form of%(key)
or${key}
in an input String.Interface for generating a substitution for a pattern in a string.Convenience class to access the localized messages of this OpenCms package.PrintfFormat allows the formatting of an array of objects embedded within a string.