org.springframework.util |
Miscellaneous utility classes, such as String manipulation utilities,
a Log4J configurer, and a state holder for paged lists of objects.
|
Java Source File Name | Type | Comment |
AntPathMatcher.java | Class | PathMatcher implementation for Ant-style path patterns. |
Assert.java | Class | Assertion utility class that assists in validating arguments.
Useful for identifying programmer errors early and clearly at runtime.
For example, if the contract of a public method states it does not
allow null arguments, Assert can be used to validate that
contract. |
AutoPopulatingList.java | Class | Simple
List wrapper class that allows for elements to be
automatically populated as they are requested. |
CachingMapDecorator.java | Class | A simple decorator for a Map, encapsulating the workflow for caching
expensive values in a target Map. |
ClassLoaderUtils.java | Class | Utility class for diagnostic purposes, to analyze the
ClassLoader hierarchy for any given object or class loader. |
ClassUtils.java | Class | Miscellaneous class utility methods. |
CollectionUtils.java | Class | Miscellaneous collection utility methods. |
ConcurrencyThrottleSupport.java | Class | Support class for throttling concurrent access to a specific resource.
Designed for use as a base class, with the subclass invoking
the
ConcurrencyThrottleSupport.beforeAccess() and
ConcurrencyThrottleSupport.afterAccess() methods at
appropriate points of its workflow. |
CustomizableThreadCreator.java | Class | Simple customizable helper class for creating threads. |
DefaultPropertiesPersister.java | Class | Default implementation of the
PropertiesPersister interface.
Follows the native parsing of java.util.Properties .
Allows for reading from any Reader and writing to any Writer, for example
to specify a charset for a properties file. |
FileCopyUtils.java | Class | Simple utility methods for file and stream copying. |
Log4jConfigurer.java | Class | Convenience class that features simple methods for custom Log4J configuration.
Only needed for non-default Log4J initialization, for example with a custom
config location or a refresh interval. |
MethodInvoker.java | Class | Helper class that allows for specifying a method to invoke in a declarative
fashion, be it static or non-static.
Usage: Specify "targetClass"/"targetMethod" or "targetObject"/"targetMethod",
optionally specify arguments, prepare the invoker. |
NumberUtils.java | Class | Miscellaneous utility methods for number conversion and parsing. |
ObjectUtils.java | Class | Miscellaneous object utility methods. |
PathMatcher.java | Interface | Strategy interface for String -based path matching. |
PatternMatchUtils.java | Class | Utility methods for simple pattern matching, in particular for
Spring's typical "xxx*", "*xxx" and "*xxx*" pattern styles. |
PropertiesPersister.java | Interface | Strategy interface for persisting java.util.Properties ,
allowing for pluggable parsing strategies. |
ReflectionUtils.java | Class | Simple utility class for working with the reflection API and handling
reflection exceptions. |
ResourceUtils.java | Class | Utility methods for resolving resource locations to files in the
file system. |
ResponseTimeMonitor.java | Interface | Interface implemented by objects that can provide performance information
as well as a record of the number of times they are accessed.
Implementing objects must ensure that implementing this interface
does not compromise thread safety. |
ResponseTimeMonitorImpl.java | Class | Implementation of ResponseTimeMonitor for use via delegation by
objects that implement this interface. |
StopWatch.java | Class | Simple stop watch, allowing for timing of a number of tasks,
exposing total running time and running time for each named task. |
StringUtils.java | Class | Miscellaneous
String utility methods.
Mainly for internal use within the framework; consider
Jakarta's Commons Lang
for a more comprehensive suite of
org.apache.commons.lang.StringUtils String utilities .
This class delivers some simple functionality that should really
be provided by the core Java String and
StringBuffer classes, such as the ability to
StringUtils.replace all occurrences of a given
substring in a target string. |
StringValueResolver.java | Interface | Simple strategy interface for resolving a String value. |
SystemPropertyUtils.java | Class | Helper class for resolving placeholders in texts. |
TypeUtils.java | Class | Utility to work with Java 5 generic type parameters. |
WeakReferenceMonitor.java | Class | Track references to arbitrary objects using proxy and weak references. |