Package com.liferay.portal.kernel.util
package com.liferay.portal.kernel.util
This package defines the kernel utility interfaces and classes.
Some of the most significant classes that you may need to use are:
Interfaces
Classes
-
ClassDescriptionAccessor<T,
A> BaseMapBuilder.UnsafeFunction<T,R, E extends Throwable> BaseMapBuilder.UnsafeSupplier<T,E extends Throwable> BaseMapWrapper<K,V> See https://issues.liferay.com/browse/LPS-6872.ComparatorAdapter<T,V> Deprecated.See https://issues.liferay.com/browse/LPS-6872.Provides utility methods for reading values as various types.HashMapBuilder<K,V> HashMapDictionary<K,V> Provides utility methods for rendering HTML text.Provides utility methods for escaping, replacing, and stripping HTML text.InheritableMap<K,V> Deprecated.As of Cavanaugh (7.4.x), with no direct replacementSee http://en.wikipedia.org/wiki/Knuth-Morris-Pratt_algorithm.LinkedHashMapBuilder<K,V> ListTree<T extends Comparable<T>>ListWrapper<E>Stores and retrieves localized strings from XML, and provides utility methods for updating localizations from JSON, portlet requests, and maps.LRUMap<K,V> MappingEnumeration<T,R> Mergeable<T>ObjectValuePair<K,V> Provides utility methods for reading request parameters.This class enables anyInputStream
to be seekable by caching its data in a temporaryRandomAccessFile
.Deprecated.As of Mueller (7.2.x), with no direct replacementSee https://issues.liferay.com/browse/LPS-6072.Parses strings into parameter maps and vice versa.The String utility class.TranslatedList<E,F> TreeMapBuilder<K,V> TreeNode<T extends Comparable<T>>This is a rewrite of java.util.Properties that is not synchronized and natively supports non-ASCII encodings.Provides utility methods related to data validation and format checking.
CookiesManagerUtil