Package org.opencms.util

Utility functions for String manipulation and other often used tasks.

See:
          Description

Interface Summary
I_CmsHtmlConverter HTML converters can be used to clean up HTML code and/or pretty print the code.
I_CmsHtmlNodeVisitor Interface for a combination of a visitor of HTML documents along with the hook to start the parser / lexer that triggers the visit.
I_CmsMacroResolver Describes a macro mapper, which is used to efficiently resolve macros in the form of %(key) or ${key} in an input String.
I_CmsRegexSubstitution Interface for generating a substitution for a pattern in a string.
 

Class Summary
A_CmsHtmlConverter  
A_CmsModeIntEnumeration Base class for all integer mode enumeration classes.
A_CmsModeStringEnumeration Base class for all string mode enumeration classes.
CmsByteArrayDataSource A DataSource backed by a byte array.
CmsCollectionsGenericWrapper Provides Map wrapping utility functions for Java generics.
CmsConstantMap<K,V> Returns the constant Object the map was initialized with for all CmsConstantMap.get(Object) calls, regardless of what the actual key is.
CmsDataTypeUtil Utilities to handle basic data types.
CmsDateUtil Utilities to get and set formated dates in OpenCms.
CmsFileUtil Provides File utility functions.
CmsHtml2TextConverter Extracts the HTML page content.
CmsHtmlConverter HTML cleaner and pretty printer.
CmsHtmlConverterJTidy HTML cleaner and pretty printer using JTidy.
CmsHtmlConverterOption Represents a single HTML converter configuration as defined in the OpenCms configuration file opencms-vfs.xml.
CmsHtmlExtractor Extracts plain text from HTML.
CmsHtmlParser Base utility class for OpenCms NodeVisitor implementations, which provides some often used utility functions.
CmsHtmlStripper Simple html tag stripper that allows configuration of html tag names that are allowed.
CmsHtmlTagRemoveFactory A tag factory for htmlparser that is able to "remove tags".
CmsMacroResolver Resolves macros in the form of %(key) or ${key} in an input String.
CmsNoAutoCloseTag A TagNode 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.
CmsPair<A,B> Generic pair class.
CmsPatternLayout Extends the default pattern layout of log4j by adding functionality for filtering the stack traces output.
CmsRequestUtil Provides utility functions for dealing with values a HttpServletRequest.
CmsResourceTranslator Provides a resource name / path translation facility.
CmsRfsFileViewer The representation of a RFS file along with the settings to provide access to certain portions (amount of lines) of it.
CmsStringUtil Provides String utility functions.
CmsStringUtil.CmsSlashComparator Compares two Strings according to the count of containing slashes.
CmsUriSplitter Splits an URI String into separate components.
CmsUUID Generates a UUID using spatial and temporal uniqueness.
CmsUUID_CustomFieldSerializer GWT serializer for CmsUUID.
CmsXmlSaxWriter Simple SAX event handler that generates a XML (or HTML) file from the events caught.
CmsXsltUtil Provides utility functions for XSLT transformations.
PrintfFormat PrintfFormat allows the formatting of an array of objects embedded within a string.
StringBean Extracts the HTML page content.
TestCmsBrowserMatcher Test case for browser matcher.
TestCmsDateUtil Test cases for the class "CmsDateUtil".
TestCmsExportFolderMatcher  
TestCmsFileUtil  
TestCmsHtml2TextConverter Test case for CmsHtml2TextConverter.
TestCmsHtmlConverter  
TestCmsHtmlExtractor Test case for CmsHtmlExtractor.
TestCmsHtmlParser Test case for CmsHtmlParser.
TestCmsHtmlStripper Test case for CmsHtmlStripper.
TestCmsMacroResolver Test cases for CmsMacroResolver.
TestCmsResourceTranslator Test cases for the resource translator.
TestCmsStringUtil Test cases for CmsStringUtil.
TestCmsUriSplitter Test case for the URI splitter.
TestCmsUUID Test case for the UUID generator.
TestCmsXmlSaxWriter Test cases for the class CmsXmlSaxWriter.
TestValidFilename Test cases for file name validation.
 

Exception Summary
CmsRfsException Used to signal issues with the real local file system (RFS), for example during file access.
 

Package org.opencms.util Description

Utility functions for String manipulation and other often used tasks.

Since:
6.0.0