Liferay 7.0-ce-b4

Package com.liferay.portal.kernel.util

This package defines the kernel utility interfaces and classes.

See:
          Description

Interface Summary
Accessor<T,A>  
CalendarFactory  
CallbackMatcher.Callback  
ClassLoaderUtil.PACL  
ColorSchemeFactory  
Constants  
ContentTypes  
Converter<T>  
DateFormatFactory  
Diff Deprecated. As of 7.0.0, moved to Diff
DiffHtml Deprecated. As of 7.0.0, moved to DiffHtml
Digester  
FastDateFormatConstants  
FastDateFormatFactory  
File  
FriendlyURLNormalizer  
Function<T,R>  
HashCode  
HashCodeFactory  
Html  
Http  
JavaConstants  
Localization Stores and retrieves localized strings from XML, and provides utility methods for updating localizations from JSON, portlet requests, and maps.
MappingEnumeration.Mapper<T,R>  
Mergeable<T>  
MethodParametersResolver  
MimeTypes  
ObjectGraphUtil.Visitor  
PortalInitable Deprecated. As of 6.1.0, replaced by PortalLifecycle
PortalLifecycle  
PredicateFilter<T>  
PrefsProps  
Props  
PropsKeys  
ReferenceRegistry.PACL  
RemotePreference  
ResourceBundleUtil.ResourceBundleLoader  
ServiceBeanMethodInvocationFactory  
ServiceLoaderCondition  
SocketUtil.ServerSocketConfigurator  
StringEncoder  
Supplier<T>  
ThemeFactory  
ThreadLocalBinder  
TreeModelTasks<T extends TreeModel>  
WebKeys  
 

Class Summary
AggregateClassLoader  
AggregatePredicateFilter<T>  
AggregateResourceBundle  
ArrayUtil  
ArrayUtil_IW  
ArrayWrapper  
AutoResetThreadLocal<T>  
Base64  
BasePortalLifecycle  
BigDecimalUtil  
BooleanWrapper  
CalendarFactoryUtil  
CalendarUtil  
CallbackMatcher See https://issues.liferay.com/browse/LPS-6872.
CamelCaseUtil  
CentralizedThreadLocal<T>  
CharPool  
ClassLoaderObjectInputStream  
ClassLoaderPool Maps servlet context names to/from the servlet context's class loader.
ClassLoaderProxy  
ClassLoaderUtil  
ClassLoaderUtil.NoPACL  
ClassResolverUtil  
ClassUtil  
ClearThreadLocalUtil  
ClearTimerThreadUtil  
ColorSchemeFactoryUtil  
ConcurrentHashSet<E> Deprecated. As of 6.1.0, replaced by ConcurrentHashSet
CookieKeys  
CookieUtil  
CSVUtil  
DateFormatFactoryUtil  
DateFormats Deprecated. As of 6.2.0, replaced by DateFormatFactoryUtil or FastDateFormatFactoryUtil
DateRange  
DateUtil  
DateUtil_IW  
DefaultServiceLoaderCondition  
DefaultThreadLocalBinder  
DeterminateKeyGenerator See https://issues.liferay.com/browse/LPS-6872.
DiffHtmlUtil Deprecated. As of 7.0.0, moved to DiffHtmlUtil
DiffResult Deprecated. As of 7.0.0, moved to DiffResult
DiffUtil Deprecated. As of 7.0.0, moved to DiffUtil
DigesterUtil  
DocumentConversionUtil  
DoubleWrapper  
EscapableObject<T>  
FastDateFormatFactoryUtil  
FileComparator  
FileUtil  
FloatWrapper  
FriendlyURLNormalizerUtil  
GetterUtil  
GetterUtil_IW  
GroupThreadLocal  
HashCodeFactoryUtil  
HashMapDictionary<K,V>  
HashUtil  
HeapUtil  
HtmlEscapableObject<T>  
HtmlUtil Provides utility methods for escaping, rendering, replacing, and stripping HTML text.
Http.Auth  
Http.Body  
Http.FilePart  
Http.Options  
Http.Response  
HttpUtil  
InetAddressUtil  
InfrastructureUtil  
InheritableMap<K,V>  
InitialThreadLocal<T>  
InstanceFactory  
InstancePool  
IntegerWrapper  
IPDetector  
JavaDetector  
JavaProps Deprecated. As of 6.2.0, replaced by JavaDetector
KeyValuePair  
KeyValuePairComparator  
KMPSearch See http://en.wikipedia.org/wiki/Knuth-Morris-Pratt_algorithm.
LimitedFIFOQueue<E>  
ListMergeable<T>  
ListTree<T extends Comparable<T>>  
ListUtil  
ListWrapper<E>  
LocaleThreadLocal  
LocaleUtil  
LocalizationUtil  
LongWrapper  
LRUMap<K,V>  
MapBackedSet<E>  
MappingEnumeration<T,R>  
MapUtil  
MathUtil  
MethodCache  
MethodComparator  
MethodHandler  
MethodKey Provides a serializable loose representation for Method, considering the declaring class, name, and parameter types of the Method, while ignoring its return type and exceptions.
MethodParameter  
MethodParametersResolverUtil  
MethodTargetClassKey  
MimeTypesUtil  
NamedThreadFactory  
NaturalOrderStringComparator  
NotificationThreadLocal  
NullSafeProperties Deprecated. As of 6.2.0, renamed to SafeProperties
NullSafeStringComparator  
NullWrapper  
NumericalStringComparator  
ObjectGraphUtil  
ObjectGraphUtil.AnnotatedFieldMappingVisitor  
ObjectValuePair<K,V>  
ObjectValuePairComparator<K,V>  
OrderByComparator<T>  
OrderByComparatorAdapter<T,V>  
OrderByComparatorFactoryUtil  
OrderByComparatorFactoryUtil.DefaultOrderByComparator<T extends BaseModel<T>>  
OrderedProperties  
OSDetector  
PackagingUtil  
ParamUtil  
ParamUtil_IW  
PathUtil  
PortalClassInvoker  
PortalClassLoaderUtil  
PortalInitableUtil Deprecated. As of 6.1.0, replaced by PortalLifecycleUtil
PortalLifecycleUtil  
PortalRunMode  
PortletClassInvoker  
PrefixPredicateFilter  
PrefsParamUtil  
PrefsPropsUtil  
PreloadClassLoader  
PrettyDateFormat  
PrimitiveIntList  
PrimitiveIntSet  
PrimitiveLongList  
PrimitiveLongSet  
PrimitiveWrapper  
ProgressStatusConstants  
ProgressTracker  
ProgressTrackerThreadLocal  
PropertiesParamUtil  
PropertiesUtil  
PropsUtil  
ProtectedClassLoaderObjectInputStream  
ProxyFactory  
ProxyUtil  
PwdGenerator  
QueuingInvocationHandler  
RandomAccessInputStream This class enables any InputStream to be seekable by caching its data in a temporary RandomAccessFile.
Randomizer Deprecated. As of 6.2.0
Randomizer_IW Deprecated.  
ReferenceEntry  
ReferenceRegistry  
ReflectionUtil  
ReleaseInfo  
ResourceBundleUtil  
RSSUtil  
SafeProperties  
SearchContainerReference  
SerializableUtil Deprecated. As of 6.1.0, moved to SerializableUtil
ServerDetector  
ServiceBeanMethodInvocationFactoryUtil  
ServiceLoader  
SessionParamUtil  
SetUtil  
ShortWrapper  
SilentPrefsPropsUtil Deprecated. As of 7.0.0, replaced with PrefsPropsUtil
SimplePojoClp<T> A class loader proxy able to serialize simple POJOs between two class loaders.
SocketUtil  
SocketUtil.BindInfo  
SortedArrayList<E>  
SortedProperties  
StackTraceUtil  
StaticFieldGetter  
StreamUtil  
StringBundler See https://issues.liferay.com/browse/LPS-6072.
StringComparator  
StringParser Parses strings into parameter maps and vice versa.
StringParserFragment  
StringPool  
StringUtil The String utility class.
StringUtil_IW  
SystemEnv  
SystemProperties  
TableNameOrderByComparator<T>  
TempFileEntryUtil  
TempFileUtil Deprecated. As of 7.0.0, replaced by TempFileEntryUtil
TextFormatter  
ThemeFactoryUtil  
ThemeHelper  
ThreadLocalDistributor  
ThreadLocalDistributorRegistry  
ThreadUtil  
Time  
TimeZoneComparator  
TimeZoneThreadLocal  
TimeZoneUtil  
TimeZoneUtil_IW  
TransientValue<V>  
TranslatedList<E,F>  
TreeModelTasksAdapter<T extends TreeModel>  
TreeNode<T extends Comparable<T>>  
TreeNodeView  
TreePathUtil  
TreeView  
Tuple  
UnicodeFormatter  
UnicodeFormatter_IW  
UnicodeProperties This is a rewrite of java.util.Properties that is not synchronized and natively supports non-ASCII encodings.
UniqueList<E> Deprecated. As of 7.0.0, with no direct replacement
UnmodifiableList<E> Deprecated. As of 7.0.0, replaced by Collections.unmodifiableList(List)
UnsyncPrintWriterPool  
URLCodec  
URLStringEncoder  
URLUtil  
Validator Provides utility methods related to data validation and format checking.
Validator_IW  
WeakValueConcurrentHashMap<K,V> Deprecated. As of 7.0.0, replaced by ConcurrentReferenceValueHashMap
 

Enum Summary
Http.Method  
 

Exception Summary
TempFileNameException  
 

Package com.liferay.portal.kernel.util Description

This package defines the kernel utility interfaces and classes.

Some of the most significant classes that you may need to use are:

Interfaces

Classes


Liferay 7.0-ce-b4