Package rs.baselib.util
Provides several utility classes.
The package conrains e.g. a date class
based on a Calendar or
a package repository
that fetches automatically all available release
information from JAR files in the classpath.
-
Interface Summary Interface Description Cache<K,V> Deprecated. DistanceCalculation Can calculate the distance between two strings.ICache<K,V> A simple definition of a cache.IDirtyable Tells whether an object has changed or not.IDisplayable Defines the possibility to return a displayable string for users in a specificLocale
.IDisplayProvider Provides a method for displaying names or labels to a user.ILocaleDisplayProvider Marks an object as providing various displays for locale.IUriProvider Interface that can provide URIs.IUrlProvider Interface that can provide URLs.IUrlTransformer Converts names to URLs.IValueProvider Interface for an object that can retrieve a certain property from an object.IWrapper A wrapper marker. -
Class Summary Class Description AdvancedThreadLocal<T> Extends functionality ofThreadLocal
by allowing to access values from other threads.BeanComparator<T> A comparator based on a list of bean properties.BeanValueProvider Default bean implementation forIValueProvider
.CommonUtils Common Utils.CompressionUtils Supports compression.CronSchedule Provides cron-like scheduling information.CronSchedule.AbstractTimeValue Base class for timing values.CronSchedule.NeverValue Never matches any time.CronSchedule.SingleTimeValue Represents a single time value, e.g.CronSchedule.TimeAll Represents the ALL time, *.CronSchedule.TimeRange Represents a time range, e.g.CronSchedule.TimeSteps Represents a time interval, e.g.DamerauLevenshteinDistance DateTimePeriod A period of time.DefaultComparator Default comparator for objects.EnvironmentRuntime Keeps track of a runtime environment.HammingDistance Implementation of Hamming Distance.IterableImpl<T> Wraps anIterator
.LevenshteinDistance Implements Levensstein distance.ReleaseInformation Holds release information about packages, artifacts and versions.ReleaseRepository Holds information about packages and modules.RsDate ADate
replacement object to allow better date computations.RsDay A day.RsMonth A month.RsYear A year.SoftMapCache<K,V> A cache implementation using aHashMap
withSoftReference
s.SynchronizedQueue<E> Implements a thread-safe synchronized object queue that also wakes up waiting threads.UriProviderWrapper Wraps anIUriProvider
into anIUrlTransformer
.UrlProviderWrapper Wraps anIUrlProvider
into anIUrlTransformer
.WeakMapCache<K,V> A cache implementation using aHashMap
withWeakReference
s. -
Enum Summary Enum Description Environment Selects the Environment.LogLevel A definition of log levels for internal uses.