A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
A
- AbstractCachingLabeledEnumResolver - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- AbstractCachingLabeledEnumResolver() - Constructor for class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.
- AbstractClassTestingTypeFilter - Class in org.springframework.core.type.filter
-
Type filter that exposes a
ClassMetadata
object to subclasses, for class testing purposes. - AbstractClassTestingTypeFilter() - Constructor for class org.springframework.core.type.filter. AbstractClassTestingTypeFilter
- AbstractEnvironment - Class in org.springframework.core.env
-
Abstract base class for
Environment
implementations. - AbstractEnvironment() - Constructor for class org.springframework.core.env. AbstractEnvironment
-
Create a new
Environment
instance, calling back toAbstractEnvironment.customizePropertySources(MutablePropertySources)
during construction to allow subclasses to contribute or manipulatePropertySource
instances as appropriate. - AbstractFileResolvingResource - Class in org.springframework.core.io
-
Abstract base class for resources which resolve URLs into File references, such as
UrlResource
orClassPathResource
. - AbstractFileResolvingResource() - Constructor for class org.springframework.core.io. AbstractFileResolvingResource
- AbstractGenericLabeledEnum - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- AbstractGenericLabeledEnum(String) - Constructor for class org.springframework.core.enums. AbstractGenericLabeledEnum
-
Deprecated.Create a new StaticLabeledEnum instance.
- AbstractLabeledEnum - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- AbstractLabeledEnum() - Constructor for class org.springframework.core.enums. AbstractLabeledEnum
-
Deprecated.Create a new AbstractLabeledEnum instance.
- AbstractPropertyResolver - Class in org.springframework.core.env
-
Abstract base class for resolving properties against any underlying source.
- AbstractPropertyResolver() - Constructor for class org.springframework.core.env. AbstractPropertyResolver
- AbstractResource - Class in org.springframework.core.io
-
Convenience base class for
Resource
implementations, pre-implementing typical behavior. - AbstractResource() - Constructor for class org.springframework.core.io. AbstractResource
- AbstractTypeHierarchyTraversingFilter - Class in org.springframework.core.type.filter
-
Type filter that is aware of traversing over hierarchy.
- AbstractTypeHierarchyTraversingFilter(boolean, boolean) - Constructor for class org.springframework.core.type.filter. AbstractTypeHierarchyTraversingFilter
- acceptsProfiles(String...) - Method in class org.springframework.core.env. AbstractEnvironment
- acceptsProfiles(String...) - Method in interface org.springframework.core.env. Environment
-
Return whether one or more of the given profiles is active or, in the case of no explicit active profiles, whether one or more of the given profiles is included in the set of default profiles.
- ACTIVE_PROFILES_PROPERTY_NAME - Static variable in class org.springframework.core.env. AbstractEnvironment
-
Name of property to set to specify active profiles: "spring.profiles.active".
- add(int, E) - Method in class org.springframework.util. AutoPopulatingList
- add(E) - Method in class org.springframework.util. AutoPopulatingList
- add(Iterator<E>) - Method in class org.springframework.util. CompositeIterator
-
Add given iterator to this composite.
- add(K, V) - Method in class org.springframework.util. LinkedMultiValueMap
- add(K, V) - Method in interface org.springframework.util. MultiValueMap
-
Add the given single value to the current list of values for the given key.
- addActiveProfile(String) - Method in class org.springframework.core.env. AbstractEnvironment
- addActiveProfile(String) - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Add a profile to the current set of active profiles.
- addAfter(String, PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Add the given property source object with precedence immediately lower than than the named relative property source.
- addAll(Collection<? extends E>) - Method in class org.springframework.util. AutoPopulatingList
- addAll(int, Collection<? extends E>) - Method in class org.springframework.util. AutoPopulatingList
- addBefore(String, PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Add the given property source object with precedence immediately higher than the named relative property source.
- addComparator(Comparator<T>) - Method in class org.springframework.util.comparator. CompoundComparator
-
Add a Comparator to the end of the chain.
- addComparator(Comparator<T>, boolean) - Method in class org.springframework.util.comparator. CompoundComparator
-
Add a Comparator to the end of the chain using the provided sort order.
- addConverter(Converter<?, ?>) - Method in interface org.springframework.core.convert.converter. ConverterRegistry
-
Add a plain converter to this registry.
- addConverter(Class<?>, Class<?>, Converter<?, ?>) - Method in interface org.springframework.core.convert.converter. ConverterRegistry
-
Add a plain converter to this registry.
- addConverter(GenericConverter) - Method in interface org.springframework.core.convert.converter. ConverterRegistry
-
Add a generic converter to this registry.
- addConverter(Converter<?, ?>) - Method in class org.springframework.core.convert.support. GenericConversionService
- addConverter(Class<?>, Class<?>, Converter<?, ?>) - Method in class org.springframework.core.convert.support. GenericConversionService
- addConverter(GenericConverter) - Method in class org.springframework.core.convert.support. GenericConversionService
- addConverterFactory(ConverterFactory<?, ?>) - Method in interface org.springframework.core.convert.converter. ConverterRegistry
-
Add a ranged converter factory to this registry.
- addConverterFactory(ConverterFactory<?, ?>) - Method in class org.springframework.core.convert.support. GenericConversionService
- addDefaultConverters(GenericConversionService) - Static method in class org.springframework.core.convert.support. ConversionServiceFactory
-
Deprecated.in Spring 3.1 in favor of
DefaultConversionService.addDefaultConverters(ConverterRegistry)
- addDefaultConverters(ConverterRegistry) - Static method in class org.springframework.core.convert.support. DefaultConversionService
-
Add converters appropriate for most environments.
- addDiscoverer(ParameterNameDiscoverer) - Method in class org.springframework.core. PrioritizedParameterNameDiscoverer
-
Add a further ParameterNameDiscoverer to the list of discoverers that this PrioritizedParameterNameDiscoverer checks.
- addFirst(PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Add the given property source object with highest precedence.
- addLast(PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Add the given property source object with lowest precedence.
- addObjectToArray(A[], O) - Static method in class org.springframework.util. ObjectUtils
-
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
- addPropertySource(PropertySource<?>) - Method in class org.springframework.core.env. CompositePropertySource
- addResourcePathToPackagePath(Class<?>, String) - Static method in class org.springframework.util. ClassUtils
-
Return a path suitable for use with
ClassLoader.getResource
(also suitable for use withClass.getResource
by prepending a slash ('/') to the return value). - addStringToArray(String[], String) - Static method in class org.springframework.util. StringUtils
-
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String.
- afterAccess() - Method in class org.springframework.util. ConcurrencyThrottleSupport
-
To be invoked after the main execution logic of concrete subclasses.
- AliasRegistry - Interface in org.springframework.core
-
Common interface for managing aliases.
- allowAliasOverriding() - Method in class org.springframework.core. SimpleAliasRegistry
-
Return whether alias overriding is allowed.
- AnnotationAttributes - Class in org.springframework.core.annotation
-
LinkedHashMap
subclass representing annotation attribute key/value pairs as read by Spring's reflection- or ASM-basedAnnotationMetadata
implementations. - AnnotationAttributes() - Constructor for class org.springframework.core.annotation. AnnotationAttributes
-
Create a new, empty
AnnotationAttributes
instance. - AnnotationAttributes(int) - Constructor for class org.springframework.core.annotation. AnnotationAttributes
-
Create a new, empty
AnnotationAttributes
instance with the given initial capacity to optimize performance. - AnnotationAttributes(Map<String, Object>) - Constructor for class org.springframework.core.annotation. AnnotationAttributes
-
Create a new
AnnotationAttributes
instance, wrapping the provided map and all its key/value pairs. - AnnotationAwareOrderComparator - Class in org.springframework.core.annotation
-
Comparator
implementation that checksOrdered
as well as theOrder
annotation, with an order value provided by anOrdered
instance overriding a statically defined annotation value (if any). - AnnotationAwareOrderComparator() - Constructor for class org.springframework.core.annotation. AnnotationAwareOrderComparator
- AnnotationMetadata - Interface in org.springframework.core.type
-
Interface that defines abstract access to the annotations of a specific class, in a form that does not require that class to be loaded yet.
- AnnotationTypeFilter - Class in org.springframework.core.type.filter
-
A simple filter which matches classes with a given annotation, checking inherited annotations as well.
- AnnotationTypeFilter(Class<? extends Annotation>) - Constructor for class org.springframework.core.type.filter. AnnotationTypeFilter
-
Create a new AnnotationTypeFilter for the given annotation type.
- AnnotationTypeFilter(Class<? extends Annotation>, boolean) - Constructor for class org.springframework.core.type.filter. AnnotationTypeFilter
-
Create a new AnnotationTypeFilter for the given annotation type.
- AnnotationTypeFilter(Class<? extends Annotation>, boolean, boolean) - Constructor for class org.springframework.core.type.filter. AnnotationTypeFilter
-
Create a new
AnnotationTypeFilter
for the given annotation type. - AnnotationUtils - Class in org.springframework.core.annotation
-
General utility methods for working with annotations, handling bridge methods (which the compiler generates for generic declarations) as well as super methods (for optional "annotation inheritance").
- AnnotationUtils() - Constructor for class org.springframework.core.annotation. AnnotationUtils
- AntPathMatcher - Class in org.springframework.util
-
PathMatcher implementation for Ant-style path patterns.
- AntPathMatcher() - Constructor for class org.springframework.util. AntPathMatcher
- append(String, byte) - Method in class org.springframework.core.style. ToStringCreator
-
Append a byte field value.
- append(String, short) - Method in class org.springframework.core.style. ToStringCreator
-
Append a short field value.
- append(String, int) - Method in class org.springframework.core.style. ToStringCreator
-
Append a integer field value.
- append(String, long) - Method in class org.springframework.core.style. ToStringCreator
-
Append a long field value.
- append(String, float) - Method in class org.springframework.core.style. ToStringCreator
-
Append a float field value.
- append(String, double) - Method in class org.springframework.core.style. ToStringCreator
-
Append a double field value.
- append(String, boolean) - Method in class org.springframework.core.style. ToStringCreator
-
Append a boolean field value.
- append(String, Object) - Method in class org.springframework.core.style. ToStringCreator
-
Append a field value.
- append(Object) - Method in class org.springframework.core.style. ToStringCreator
-
Append the provided value.
- appendMd5DigestAsHex(byte[], StringBuilder) - Static method in class org.springframework.util. DigestUtils
-
Append a hexadecimal string representation of the MD5 digest of the given bytes to the given
StringBuilder
. - applyRelativePath(String, String) - Static method in class org.springframework.util. StringUtils
-
Apply the given relative path to the given path, assuming standard Java folder separation (i.e.
- array(TypeDescriptor) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor as an array of the specified type.
- ARRAY_SUFFIX - Static variable in class org.springframework.util. ClassUtils
-
Suffix for array class names: "[]"
- arrayToCommaDelimitedString(Object[]) - Static method in class org.springframework.util. StringUtils
-
Convenience method to return a String array as a CSV String.
- arrayToDelimitedString(Object[], String) - Static method in class org.springframework.util. StringUtils
-
Convenience method to return a String array as a delimited (e.g.
- arrayToList(Object) - Static method in class org.springframework.util. CollectionUtils
-
Convert the supplied array into a List.
- ASM_VERSION - Static variable in class org.springframework.asm. SpringAsmInfo
-
The ASM compatibility version for Spring's ASM visitor implementations: currently
Opcodes.ASM5
. - asNumber(String) - Method in class org.springframework.core. Constants
-
Return a constant value cast to a Number.
- asObject(String) - Method in class org.springframework.core. Constants
-
Parse the given String (upper or lower case accepted) and return the appropriate value if it's the name of a constant field in the class that we're analysing.
- AspectJTypeFilter - Class in org.springframework.core.type.filter
-
Type filter that uses AspectJ type pattern for matching.
- AspectJTypeFilter(String, ClassLoader) - Constructor for class org.springframework.core.type.filter. AspectJTypeFilter
- Assert - Class in org.springframework.util
-
Assertion utility class that assists in validating arguments.
- Assert() - Constructor for class org.springframework.util. Assert
- assertLegalRelativeAddition(String, PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Ensure that the given property source is not being added relative to itself.
- AssignableTypeFilter - Class in org.springframework.core.type.filter
-
A simple filter which matches classes that are assignable to a given type.
- AssignableTypeFilter(Class<?>) - Constructor for class org.springframework.core.type.filter. AssignableTypeFilter
-
Create a new AssignableTypeFilter for the given type.
- asString(String) - Method in class org.springframework.core. Constants
-
Return a constant value as a String.
- AsyncTaskExecutor - Interface in org.springframework.core.task
-
Extended interface for asynchronous
TaskExecutor
implementations, offering an overloadedAsyncTaskExecutor.execute(Runnable, long)
variant with a start timeout parameter as well support forCallable
. - AttributeAccessor - Interface in org.springframework.core
-
Interface defining a generic contract for attaching and accessing metadata to/from arbitrary objects.
- AttributeAccessorSupport - Class in org.springframework.core
-
Support class for
AttributeAccessors
, providing a base implementation of all methods. - AttributeAccessorSupport() - Constructor for class org.springframework.core. AttributeAccessorSupport
- attributeNames() - Method in interface org.springframework.core. AttributeAccessor
-
Return the names of all attributes.
- attributeNames() - Method in class org.springframework.core. AttributeAccessorSupport
- attributeNameToPropertyName(String) - Static method in class org.springframework.core. Conventions
-
Convert
String
s in attribute name format (lowercase, hyphens separating words) into property name format (camel-cased). - AutoPopulatingList< E> - Class in org.springframework.util
-
Simple
List
wrapper class that allows for elements to be automatically populated as they are requested. - AutoPopulatingList(Class<? extends E>) - Constructor for class org.springframework.util. AutoPopulatingList
-
Creates a new
AutoPopulatingList
that is backed by a standardArrayList
and adds new instances of the suppliedelement Class
to the backingList
on demand. - AutoPopulatingList(List<E>, Class<? extends E>) - Constructor for class org.springframework.util. AutoPopulatingList
-
Creates a new
AutoPopulatingList
that is backed by the suppliedList
and adds new instances of the suppliedelement Class
to the backingList
on demand. - AutoPopulatingList(AutoPopulatingList.ElementFactory<E>) - Constructor for class org.springframework.util. AutoPopulatingList
-
Creates a new
AutoPopulatingList
that is backed by a standardArrayList
and creates new elements on demand using the suppliedAutoPopulatingList.ElementFactory
. - AutoPopulatingList(List<E>, AutoPopulatingList.ElementFactory<E>) - Constructor for class org.springframework.util. AutoPopulatingList
-
Creates a new
AutoPopulatingList
that is backed by the suppliedList
and creates new elements on demand using the suppliedAutoPopulatingList.ElementFactory
. - AutoPopulatingList.ElementFactory< E> - Interface in org.springframework.util
-
Factory interface for creating elements for an index-based access data structure such as a
List
. - AutoPopulatingList.ElementInstantiationException - Exception in org.springframework.util
-
Exception to be thrown from ElementFactory.
- AutoPopulatingList.ElementInstantiationException(String) - Constructor for exception org.springframework.util. AutoPopulatingList.ElementInstantiationException
- awaitTermination(long, TimeUnit) - Method in class org.springframework.core.task.support. ExecutorServiceAdapter
B
- beforeAccess() - Method in class org.springframework.util. ConcurrencyThrottleSupport
-
To be invoked before the main execution logic of concrete subclasses.
- bindDefaultNamespaceUri(String) - Method in class org.springframework.util.xml. SimpleNamespaceContext
-
Binds the given namespace as default namespace.
- bindNamespaceUri(String, String) - Method in class org.springframework.util.xml. SimpleNamespaceContext
-
Binds the given prefix to the given namespace.
- BooleanComparator - Class in org.springframework.util.comparator
-
A Comparator for Boolean objects that can sort either true or false first.
- BooleanComparator(boolean) - Constructor for class org.springframework.util.comparator. BooleanComparator
-
Create a BooleanComparator that sorts boolean values based on the provided flag.
- BridgeMethodResolver - Class in org.springframework.core
-
Helper for resolving synthetic
bridge Methods
to theMethod
being bridged. - BridgeMethodResolver() - Constructor for class org.springframework.core. BridgeMethodResolver
- BUFFER_SIZE - Static variable in class org.springframework.util. FileCopyUtils
- BUFFER_SIZE - Static variable in class org.springframework.util. StreamUtils
- buildMessage(String, Throwable) - Static method in class org.springframework.core. NestedExceptionUtils
-
Build a message for the given base message and root cause.
- ByteArrayResource - Class in org.springframework.core.io
-
Resource
implementation for a given byte array. - ByteArrayResource(byte[]) - Constructor for class org.springframework.core.io. ByteArrayResource
-
Create a new ByteArrayResource.
- ByteArrayResource(byte[], String) - Constructor for class org.springframework.core.io. ByteArrayResource
-
Create a new ByteArrayResource.
C
- CachingMapDecorator< K, V> - Class in org.springframework.util
-
Deprecated.as of Spring 3.2, to be removed along with LabeledEnum support
- CachingMapDecorator() - Constructor for class org.springframework.util. CachingMapDecorator
-
Deprecated.Create a CachingMapDecorator with strong keys, using an underlying synchronized Map.
- CachingMapDecorator(boolean) - Constructor for class org.springframework.util. CachingMapDecorator
-
Deprecated.Create a CachingMapDecorator, using an underlying synchronized Map.
- CachingMapDecorator(boolean, int) - Constructor for class org.springframework.util. CachingMapDecorator
-
Deprecated.Create a CachingMapDecorator with initial size, using an underlying synchronized Map.
- CachingMapDecorator(Map<K, V>) - Constructor for class org.springframework.util. CachingMapDecorator
-
Deprecated.Create a CachingMapDecorator for the given Map.
- CachingMapDecorator(Map<K, V>, boolean, boolean) - Constructor for class org.springframework.util. CachingMapDecorator
-
Deprecated.Create a CachingMapDecorator for the given Map.
- CachingMetadataReaderFactory - Class in org.springframework.core.type.classreading
-
Caching implementation of the
MetadataReaderFactory
interface, cachingMetadataReader
per SpringResource
handle (i.e. - CachingMetadataReaderFactory() - Constructor for class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Create a new CachingMetadataReaderFactory for the default class loader.
- CachingMetadataReaderFactory(ResourceLoader) - Constructor for class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Create a new CachingMetadataReaderFactory for the given resource loader.
- CachingMetadataReaderFactory(ClassLoader) - Constructor for class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Create a new CachingMetadataReaderFactory for the given class loader.
- calculateShift(int, int) - Static method in class org.springframework.util. ConcurrentReferenceHashMap
-
Calculate a shift value that can be used to create a power-of-two value between the specified maximum and minimum values.
- canBypassConvert(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
-
Returns true if conversion between the sourceType and targetType can be bypassed.
- canConvert(Class<?>, Class<?>) - Method in interface org.springframework.core.convert. ConversionService
-
Return
true
if objects ofsourceType
can be converted to thetargetType
. - canConvert(TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert. ConversionService
-
Return
true
if objects ofsourceType
can be converted to thetargetType
. - canConvert(Class<?>, Class<?>) - Method in class org.springframework.core.convert.support. GenericConversionService
- canConvert(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
- canonicalName(String) - Method in class org.springframework.core. SimpleAliasRegistry
-
Determine the raw name, resolving aliases to canonical names.
- capitalize(String) - Static method in class org.springframework.util. StringUtils
-
Capitalize a
String
, changing the first letter to upper case as perCharacter.toUpperCase(char)
. - caseInsensitiveValueOf(E[], String) - Static method in class org.springframework.util. ObjectUtils
-
Case insensitive alternative to
Enum.valueOf(Class, String)
. - CGLIB_CLASS_SEPARATOR - Static variable in class org.springframework.util. ClassUtils
-
The CGLIB class separator character "$$"
- checkForAliasCircle(String, String) - Method in class org.springframework.core. SimpleAliasRegistry
-
Check whether the given name points back to given alias as an alias in the other direction, catching a circular reference upfront and throwing a corresponding IllegalStateException.
- CLASS_FILE_SUFFIX - Static variable in class org.springframework.util. ClassUtils
-
The ".class" file suffix
- ClassMetadata - Interface in org.springframework.core.type
-
Interface that defines abstract metadata of a specific class, in a form that does not require that class to be loaded yet.
- classNamesToString(Class...) - Static method in class org.springframework.util. ClassUtils
-
Build a String that consists of the names of the classes/interfaces in the given array.
- classNamesToString(Collection<Class>) - Static method in class org.springframework.util. ClassUtils
-
Build a String that consists of the names of the classes/interfaces in the given collection.
- classPackageAsResourcePath(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Given an input class object, return a string which consists of the class's package name as a pathname, i.e., all dots ('.') are replaced by slashes ('/').
- CLASSPATH_ALL_URL_PREFIX - Static variable in interface org.springframework.core.io.support. ResourcePatternResolver
-
Pseudo URL prefix for all matching resources from the class path: "classpath*:" This differs from ResourceLoader's classpath URL prefix in that it retrieves all matching resources for a given name (e.g.
- CLASSPATH_URL_PREFIX - Static variable in interface org.springframework.core.io. ResourceLoader
-
Pseudo URL prefix for loading from the class path: "classpath:"
- CLASSPATH_URL_PREFIX - Static variable in class org.springframework.util. Log4jConfigurer
-
Pseudo URL prefix for loading from the class path: "classpath:"
- CLASSPATH_URL_PREFIX - Static variable in class org.springframework.util. ResourceUtils
-
Pseudo URL prefix for loading from the class path: "classpath:"
- ClassPathResource - Class in org.springframework.core.io
-
Resource
implementation for class path resources. - ClassPathResource(String) - Constructor for class org.springframework.core.io. ClassPathResource
-
Create a new
ClassPathResource
forClassLoader
usage. - ClassPathResource(String, ClassLoader) - Constructor for class org.springframework.core.io. ClassPathResource
-
Create a new
ClassPathResource
forClassLoader
usage. - ClassPathResource(String, Class<?>) - Constructor for class org.springframework.core.io. ClassPathResource
-
Create a new
ClassPathResource
forClass
usage. - ClassPathResource(String, ClassLoader, Class<?>) - Constructor for class org.springframework.core.io. ClassPathResource
-
Create a new
ClassPathResource
with optionalClassLoader
andClass
. - ClassRelativeResourceLoader - Class in org.springframework.core.io
-
ResourceLoader
implementation that interprets plain resource paths as relative to a givenjava.lang.Class
. - ClassRelativeResourceLoader(Class) - Constructor for class org.springframework.core.io. ClassRelativeResourceLoader
-
Create a new ClassRelativeResourceLoader for the given class.
- ClassUtils - Class in org.springframework.util
-
Miscellaneous class utility methods.
- ClassUtils() - Constructor for class org.springframework.util. ClassUtils
- cleanPath(String) - Static method in class org.springframework.util. StringUtils
-
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
- clear() - Method in class org.springframework.util. AutoPopulatingList
- clear() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- clear() - Method in class org.springframework.util. ConcurrentReferenceHashMap
- clear() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Segment
-
Clear all items from this segment.
- clear() - Method in class org.springframework.util. LinkedCaseInsensitiveMap
- clear() - Method in class org.springframework.util. LinkedMultiValueMap
- clear() - Method in class org.springframework.util.xml. SimpleNamespaceContext
-
Removes all declared prefixes.
- clearCache() - Method in class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Clear the entire MetadataReader cache, removing all cached class metadata.
- close() - Method in class org.springframework.util. CommonsLogWriter
- CODE_ORDER - Static variable in interface org.springframework.core.enums. LabeledEnum
-
Deprecated.Shared Comparator instance that sorts enumerations by
CODE_ORDER
. - collection(Class<?>, TypeDescriptor) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor from a
Collection
type. - CollectionFactory - Class in org.springframework.core
-
Factory for collections, being aware of Java 5 and Java 6 collections.
- CollectionFactory() - Constructor for class org.springframework.core. CollectionFactory
- collectionToCommaDelimitedString(Collection<?>) - Static method in class org.springframework.util. StringUtils
-
Convenience method to return a Collection as a CSV String.
- collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class org.springframework.util. StringUtils
-
Convenience method to return a Collection as a delimited (e.g.
- collectionToDelimitedString(Collection<?>, String) - Static method in class org.springframework.util. StringUtils
-
Convenience method to return a Collection as a delimited (e.g.
- CollectionUtils - Class in org.springframework.util
-
Miscellaneous collection utility methods.
- CollectionUtils() - Constructor for class org.springframework.util. CollectionUtils
- combine(String, String) - Method in class org.springframework.util. AntPathMatcher
-
Combines two patterns into a new pattern that is returned.
- combine(String, String) - Method in interface org.springframework.util. PathMatcher
-
Combines two patterns into a new pattern that is returned.
- commaDelimitedListToSet(String) - Static method in class org.springframework.util. StringUtils
-
Convenience method to convert a CSV string list to a set.
- commaDelimitedListToStringArray(String) - Static method in class org.springframework.util. StringUtils
-
Convert a CSV list into an array of Strings.
- COMMAND_LINE_PROPERTY_SOURCE_NAME - Static variable in class org.springframework.core.env. CommandLinePropertySource
-
The default name given to
CommandLinePropertySource
instances: "commandLineArgs" - CommandLinePropertySource< T> - Class in org.springframework.core.env
-
Abstract base class for
PropertySource
implementations backed by command line arguments. - CommandLinePropertySource(T) - Constructor for class org.springframework.core.env. CommandLinePropertySource
-
Create a new
CommandLinePropertySource
having the default name "commandLineArgs" and backed by the given source object. - CommandLinePropertySource(String, T) - Constructor for class org.springframework.core.env. CommandLinePropertySource
-
Create a new
CommandLinePropertySource
having the given name and backed by the given source object. - CommonsLogWriter - Class in org.springframework.util
-
java.io.Writer
adapter for a Commons LoggingLog
. - CommonsLogWriter(Log) - Constructor for class org.springframework.util. CommonsLogWriter
-
Create a new CommonsLogWriter for the given Commons Logging logger.
- ComparableComparator< T extends Comparable< T>> - Class in org.springframework.util.comparator
-
Comparator that adapts Comparables to the Comparator interface.
- ComparableComparator() - Constructor for class org.springframework.util.comparator. ComparableComparator
- compare(S, S) - Method in class org.springframework.core.convert.converter. ConvertingComparator
- compare(Class<? extends Throwable>, Class<? extends Throwable>) - Method in class org.springframework.core. ExceptionDepthComparator
- compare(Object, Object) - Method in class org.springframework.core. OrderComparator
- compare(Boolean, Boolean) - Method in class org.springframework.util.comparator. BooleanComparator
- compare(T, T) - Method in class org.springframework.util.comparator. ComparableComparator
- compare(T, T) - Method in class org.springframework.util.comparator. CompoundComparator
- compare(T, T) - Method in class org.springframework.util.comparator. InstanceComparator
- compare(T, T) - Method in class org.springframework.util.comparator. InvertibleComparator
- compare(T, T) - Method in class org.springframework.util.comparator. NullSafeComparator
- compareTo(Object) - Method in class org.springframework.core.enums. AbstractLabeledEnum
-
Deprecated.
- CompositeIterator< E> - Class in org.springframework.util
-
Composite iterator that combines multiple other iterators, as registered via
CompositeIterator.add(Iterator)
. - CompositeIterator() - Constructor for class org.springframework.util. CompositeIterator
- CompositePropertySource - Class in org.springframework.core.env
-
Composite
PropertySource
implementation that iterates over a set ofPropertySource
instances. - CompositePropertySource(String) - Constructor for class org.springframework.core.env. CompositePropertySource
-
Create a new
CompositePropertySource
. - CompoundComparator< T> - Class in org.springframework.util.comparator
-
A comparator that chains a sequence of one or more more Comparators.
- CompoundComparator() - Constructor for class org.springframework.util.comparator. CompoundComparator
-
Construct a CompoundComparator with initially no Comparators.
- CompoundComparator(Comparator...) - Constructor for class org.springframework.util.comparator. CompoundComparator
-
Construct a CompoundComparator from the Comparators in the provided array.
- concatenateStringArrays(String[], String[]) - Static method in class org.springframework.util. StringUtils
-
Concatenate the given String arrays into one, with overlapping array elements included twice.
- ConcurrencyThrottleSupport - Class in org.springframework.util
-
Support class for throttling concurrent access to a specific resource.
- ConcurrencyThrottleSupport() - Constructor for class org.springframework.util. ConcurrencyThrottleSupport
- ConcurrentExecutorAdapter - Class in org.springframework.core.task.support
-
Adapter that exposes the
Executor
interface for any SpringTaskExecutor
. - ConcurrentExecutorAdapter(TaskExecutor) - Constructor for class org.springframework.core.task.support. ConcurrentExecutorAdapter
-
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
- ConcurrentMap - Interface in org.springframework.core
-
Deprecated.as of Spring 3.0, since standard
ConcurrentMap
is available on Java 5+ anyway - ConcurrentReferenceHashMap< K, V> - Class in org.springframework.util
- ConcurrentReferenceHashMap() - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, float) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, int) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, float, int) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, float, int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap.Entry< K, V> - Class in org.springframework.util
-
A single map entry.
- ConcurrentReferenceHashMap.Entry(K, V) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap.Entry
- ConcurrentReferenceHashMap.Reference< K, V> - Interface in org.springframework.util
-
A reference to an
ConcurrentReferenceHashMap.Entry
contained in the map. - ConcurrentReferenceHashMap.ReferenceManager - Class in org.springframework.util
-
Strategy class used to manage
ConcurrentReferenceHashMap.Reference
s. - ConcurrentReferenceHashMap.ReferenceManager() - Constructor for class org.springframework.util. ConcurrentReferenceHashMap.ReferenceManager
- ConcurrentReferenceHashMap.ReferenceType - Enum in org.springframework.util
-
Various reference types supported by this map.
- ConcurrentReferenceHashMap.Restructure - Enum in org.springframework.util
-
The types of restructuring that can be performed.
- ConcurrentReferenceHashMap.Segment - Class in org.springframework.util
-
A single segment used to divide the map to allow better concurrent performance.
- ConcurrentReferenceHashMap.Segment(int) - Constructor for class org.springframework.util. ConcurrentReferenceHashMap.Segment
- ConditionalConverter - Interface in org.springframework.core.convert.converter
-
Allows a
Converter
,GenericConverter
orConverterFactory
to conditionally execute based on attributes of thesource
andtarget
TypeDescriptor
. - ConditionalGenericConverter - Interface in org.springframework.core.convert.converter
-
A
GenericConverter
that may conditionally execute based on attributes of thesource
andtarget
TypeDescriptor
. - ConfigurableConversionService - Interface in org.springframework.core.convert.support
-
Configuration interface to be implemented by most if not all
ConversionService
types. - ConfigurableEnvironment - Interface in org.springframework.core.env
-
Configuration interface to be implemented by most if not all
Environment
types. - ConfigurableObjectInputStream - Class in org.springframework.core
-
Special ObjectInputStream subclass that resolves class names against a specific ClassLoader.
- ConfigurableObjectInputStream(InputStream, ClassLoader) - Constructor for class org.springframework.core. ConfigurableObjectInputStream
-
Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.
- ConfigurableObjectInputStream(InputStream, ClassLoader, boolean) - Constructor for class org.springframework.core. ConfigurableObjectInputStream
-
Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.
- ConfigurablePropertyResolver - Interface in org.springframework.core.env
-
Configuration interface to be implemented by most if not all
PropertyResolver
types. - ConstantException - Exception in org.springframework.core
-
Exception thrown when the
Constants
class is asked for an invalid constant name. - ConstantException(String, String, String) - Constructor for exception org.springframework.core. ConstantException
-
Thrown when an invalid constant name is requested.
- ConstantException(String, String, Object) - Constructor for exception org.springframework.core. ConstantException
-
Thrown when an invalid constant value is looked up.
- Constants - Class in org.springframework.core
-
This class can be used to parse other classes containing constant definitions in public static final members.
- Constants(Class<?>) - Constructor for class org.springframework.core. Constants
-
Create a new Constants converter class wrapping the given class.
- contains(String) - Method in class org.springframework.core.env. MutablePropertySources
- contains(String) - Method in interface org.springframework.core.env. PropertySources
-
Return whether a property source with the given name is contained.
- contains(Class) - Method in exception org.springframework.core. NestedCheckedException
-
Check whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.
- contains(Class) - Method in exception org.springframework.core. NestedRuntimeException
-
Check whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.
- contains(Object) - Method in class org.springframework.util. AutoPopulatingList
- contains(Iterator, Object) - Static method in class org.springframework.util. CollectionUtils
-
Check whether the given Iterator contains the given element.
- contains(Enumeration, Object) - Static method in class org.springframework.util. CollectionUtils
-
Check whether the given Enumeration contains the given element.
- containsAll(Collection) - Method in class org.springframework.util. AutoPopulatingList
- containsAny(Collection, Collection) - Static method in class org.springframework.util. CollectionUtils
-
Return
true
if any element in 'candidates
' is contained in 'source
'; otherwise returnsfalse
. - containsConstant(Enum<?>[], String) - Static method in class org.springframework.util. ObjectUtils
-
Check whether the given array of enum constants contains a constant with the given name, ignoring case when determining a match.
- containsConstant(Enum<?>[], String, boolean) - Static method in class org.springframework.util. ObjectUtils
-
Check whether the given array of enum constants contains a constant with the given name.
- containsElement(Object[], Object) - Static method in class org.springframework.util. ObjectUtils
-
Check whether the given array contains the given element.
- containsInstance(Collection, Object) - Static method in class org.springframework.util. CollectionUtils
-
Check whether the given Collection contains the given element instance.
- containsKey(Object) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- containsKey(Object) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- containsKey(Object) - Method in class org.springframework.util. LinkedCaseInsensitiveMap
- containsKey(Object) - Method in class org.springframework.util. LinkedMultiValueMap
- containsOption(String) - Method in class org.springframework.core.env. CommandLinePropertySource
-
Return whether the set of option arguments parsed from the command line contains an option with the given name.
- containsOption(String) - Method in class org.springframework.core.env. JOptCommandLinePropertySource
- containsOption(String) - Method in class org.springframework.core.env. SimpleCommandLinePropertySource
- containsProperty(String) - Method in class org.springframework.core.env. AbstractEnvironment
- containsProperty(String) - Method in class org.springframework.core.env. CommandLinePropertySource
-
Return whether this
PropertySource
contains a property with the given name. - containsProperty(String) - Method in class org.springframework.core.env. EnumerablePropertySource
-
Return whether this
PropertySource
contains a property with the given name. - containsProperty(String) - Method in interface org.springframework.core.env. PropertyResolver
-
Return whether the given property key is available for resolution, i.e., the value for the given key is not
null
. - containsProperty(String) - Method in class org.springframework.core.env. PropertySource
-
Return whether this
PropertySource
contains the given name. - containsProperty(String) - Method in class org.springframework.core.env. PropertySourcesPropertyResolver
- containsProperty(String) - Method in class org.springframework.core.env. SystemEnvironmentPropertySource
-
Return true if a property with the given name or any underscore/uppercase variant thereof exists in this property source.
- containsValue(Object) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- containsValue(Object) - Method in class org.springframework.util. LinkedMultiValueMap
- containsWhitespace(CharSequence) - Static method in class org.springframework.util. StringUtils
-
Check whether the given CharSequence contains any whitespace characters.
- containsWhitespace(String) - Static method in class org.springframework.util. StringUtils
-
Check whether the given String contains any whitespace characters.
- contentLength() - Method in class org.springframework.core.io. AbstractFileResolvingResource
- contentLength() - Method in class org.springframework.core.io. AbstractResource
-
This implementation reads the entire InputStream to calculate the content length.
- contentLength() - Method in class org.springframework.core.io. ByteArrayResource
-
This implementation returns the length of the underlying byte array.
- contentLength() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns the underlying File's length.
- contentLength() - Method in interface org.springframework.core.io. Resource
-
Determine the content length for this resource.
- contentLength() - Method in class org.springframework.core.io. VfsResource
- ContextResource - Interface in org.springframework.core.io
-
Extended interface for a resource that is loaded from an enclosing 'context', e.g.
- ControlFlow - Interface in org.springframework.core
-
Interface to be implemented by objects that can return information about the current call stack.
- ControlFlowFactory - Class in org.springframework.core
-
Static factory to conceal the automatic choice of the ControlFlow implementation class.
- ControlFlowFactory() - Constructor for class org.springframework.core. ControlFlowFactory
- Conventions - Class in org.springframework.core
-
Provides methods to support various naming and other conventions used throughout the framework.
- Conventions() - Constructor for class org.springframework.core. Conventions
- ConversionException - Exception in org.springframework.core.convert
-
Base class for exceptions thrown by the conversion system.
- ConversionException(String) - Constructor for exception org.springframework.core.convert. ConversionException
-
Construct a new conversion exception.
- ConversionException(String, Throwable) - Constructor for exception org.springframework.core.convert. ConversionException
-
Construct a new conversion exception.
- ConversionFailedException - Exception in org.springframework.core.convert
-
Exception to be thrown when an actual type conversion attempt fails.
- ConversionFailedException(TypeDescriptor, TypeDescriptor, Object, Throwable) - Constructor for exception org.springframework.core.convert. ConversionFailedException
-
Create a new conversion exception.
- ConversionService - Interface in org.springframework.core.convert
-
A service interface for type conversion.
- conversionService - Variable in class org.springframework.core.env. AbstractPropertyResolver
- ConversionServiceFactory - Class in org.springframework.core.convert.support
-
A factory for common
ConversionService
configurations. - ConversionServiceFactory() - Constructor for class org.springframework.core.convert.support. ConversionServiceFactory
- convert(Object, Class<T>) - Method in interface org.springframework.core.convert. ConversionService
-
Convert the given
source
to the specifiedtargetType
. - convert(Object, TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert. ConversionService
-
Convert the given
source
to the specifiedtargetType
. - convert(S) - Method in interface org.springframework.core.convert.converter. Converter
-
Convert the source of type S to target type T.
- convert(Object, TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert.converter. GenericConverter
-
Convert the source to the targetType described by the TypeDescriptor.
- convert(Object, Class<T>) - Method in class org.springframework.core.convert.support. GenericConversionService
- convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
- convert(Object, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
-
Convenience operation for converting a source object to the specified targetType, where the targetType is a descriptor that provides additional conversion context.
- convert(byte[]) - Method in class org.springframework.core.serializer.support. DeserializingConverter
- convert(Object) - Method in class org.springframework.core.serializer.support. SerializingConverter
-
Serializes the source object and returns the byte array result.
- convertClassLoaderURL(URL) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Convert the given URL as returned from the ClassLoader into a Resource object.
- convertClassNameToResourcePath(String) - Static method in class org.springframework.util. ClassUtils
-
Convert a "."-based fully qualified class name to a "/"-based resource path.
- Converter< S, T> - Interface in org.springframework.core.convert.converter
-
A converter converts a source object of type S to a target of type T.
- ConverterFactory< S, R> - Interface in org.springframework.core.convert.converter
-
A factory for "ranged" converters that can convert objects from S to subtypes of R.
- ConverterNotFoundException - Exception in org.springframework.core.convert
-
Thrown when a suitable converter could not be found in a conversion service.
- ConverterNotFoundException(TypeDescriptor, TypeDescriptor) - Constructor for exception org.springframework.core.convert. ConverterNotFoundException
-
Creates a new conversion executor not found exception.
- ConverterRegistry - Interface in org.springframework.core.convert.converter
-
For registering converters with a type conversion system.
- ConvertingComparator< S, T> - Class in org.springframework.core.convert.converter
-
A
Comparator
that converts values before they are compared. - ConvertingComparator(Converter<S, T>) - Constructor for class org.springframework.core.convert.converter. ConvertingComparator
-
Create a new
ConvertingComparator
instance. - ConvertingComparator(Comparator<T>, Converter<S, T>) - Constructor for class org.springframework.core.convert.converter. ConvertingComparator
-
Create a new
ConvertingComparator
instance. - ConvertingComparator(Comparator<T>, ConversionService, Class<? extends T>) - Constructor for class org.springframework.core.convert.converter. ConvertingComparator
-
Create a new
ComparableComparator
instance. - ConvertingPropertyEditorAdapter - Class in org.springframework.core.convert.support
-
Adapter that exposes a
PropertyEditor
for any givenConversionService
and specific target type. - ConvertingPropertyEditorAdapter(ConversionService, TypeDescriptor) - Constructor for class org.springframework.core.convert.support. ConvertingPropertyEditorAdapter
-
Create a new ConvertingPropertyEditorAdapter for a given
ConversionService
and the given target type. - convertKey(String) - Method in class org.springframework.util. LinkedCaseInsensitiveMap
-
Convert the given key to a case-insensitive key.
- convertNullSource(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
-
Template method to convert a null source.
- convertNumberToTargetClass(Number, Class<T>) - Static method in class org.springframework.util. NumberUtils
-
Convert the given number into an instance of the given target class.
- convertResourcePathToClassName(String) - Static method in class org.springframework.util. ClassUtils
-
Convert a "/"-based resource path to a "."-based fully qualified class name.
- copy(File, File) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given input File to the given output File.
- copy(byte[], File) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given byte array to the given output File.
- copy(InputStream, OutputStream) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given InputStream to the given OutputStream.
- copy(byte[], OutputStream) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given byte array to the given OutputStream.
- copy(Reader, Writer) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given Reader to the given Writer.
- copy(String, Writer) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given String to the given output Writer.
- copy(byte[], OutputStream) - Static method in class org.springframework.util. StreamUtils
-
Copy the contents of the given byte array to the given OutputStream.
- copy(String, Charset, OutputStream) - Static method in class org.springframework.util. StreamUtils
-
Copy the contents of the given String to the given output OutputStream.
- copy(InputStream, OutputStream) - Static method in class org.springframework.util. StreamUtils
-
Copy the contents of the given InputStream to the given OutputStream.
- COPYABLE_FIELDS - Static variable in class org.springframework.util. ReflectionUtils
-
Pre-built FieldFilter that matches all non-static, non-final fields.
- copyAttributesFrom(AttributeAccessor) - Method in class org.springframework.core. AttributeAccessorSupport
-
Copy the attributes from the supplied AttributeAccessor to this accessor.
- copyRecursively(File, File) - Static method in class org.springframework.util. FileSystemUtils
-
Recursively copy the contents of the
src
file/directory to thedest
file/directory. - copyToByteArray(File) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given input File into a new byte array.
- copyToByteArray(InputStream) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given InputStream into a new byte array.
- copyToByteArray(InputStream) - Static method in class org.springframework.util. StreamUtils
-
Copy the contents of the given InputStream into a new byte array.
- copyToString(Reader) - Static method in class org.springframework.util. FileCopyUtils
-
Copy the contents of the given Reader into a String.
- copyToString(InputStream, Charset) - Static method in class org.springframework.util. StreamUtils
-
Copy the contents of the given InputStream into a String.
- countOccurrencesOf(String, String) - Static method in class org.springframework.util. StringUtils
-
Count the occurrences of the substring in string s.
- create(K) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.Create a value to cache for the given key.
- createApproximateCollection(Object, int) - Static method in class org.springframework.core. CollectionFactory
-
Create the most approximate collection for the given collection.
- createApproximateMap(Object, int) - Static method in class org.springframework.core. CollectionFactory
-
Create the most approximate map for the given map.
- createCollection(Class<?>, int) - Static method in class org.springframework.core. CollectionFactory
-
Create the most appropriate collection for the given collection type.
- createCompositeInterface(Class<?>[], ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Create a composite interface Class for the given interfaces, implementing the given interfaces in one single Class.
- createConcurrentMap(int) - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 3.0, for usage on JDK 1.5 or higher
- createConcurrentMapIfPossible(int) - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 3.0, for usage on JDK 1.5 or higher
- createContentHandler(Node) - Static method in class org.springframework.util.xml. DomUtils
-
Returns a SAX
ContentHandler
that transforms callback calls to DOMNode
s. - createContentHandler(XMLStreamWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a SAX
ContentHandler
that writes to the given StAXXMLStreamWriter
. - createContentHandler(XMLEventWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a SAX
ContentHandler
that writes events to the given StAXXMLEventWriter
. - createControlFlow() - Static method in class org.springframework.core. ControlFlowFactory
-
Return an appropriate
ControlFlow
instance. - createCopyOnWriteSet() - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 3.0, for usage on JDK 1.5 or higher
- createCustomStaxResult(XMLStreamWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a custom, non-JAXP 1.4 StAX
Result
for the givenXMLStreamWriter
. - createCustomStaxResult(XMLEventWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a custom, non-JAXP 1.4 StAX
Result
for the givenXMLEventWriter
. - createCustomStaxSource(XMLStreamReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a custom, non-JAXP 1.4 StAX
Source
for the givenXMLStreamReader
. - createCustomStaxSource(XMLEventReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a custom, non-JAXP 1.4 StAX
Source
for the givenXMLEventReader
. - createDefaultConversionService() - Static method in class org.springframework.core.convert.support. ConversionServiceFactory
-
Deprecated.in Spring 3.1 in favor of
DefaultConversionService.DefaultConversionService()
- createElement(int) - Method in interface org.springframework.util. AutoPopulatingList.ElementFactory
-
Create the element for the supplied index.
- createEventStreamReader(XMLEventReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Return a
XMLStreamReader
that reads from aXMLEventReader
. - createEventStreamWriter(XMLEventWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Return a
XMLStreamWriter
that writes to aXMLEventWriter
. - createEventStreamWriter(XMLEventWriter, XMLEventFactory) - Static method in class org.springframework.util.xml. StaxUtils
-
Return a
XMLStreamWriter
that writes to aXMLEventWriter
. - createIdentityMapIfPossible(int) - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 2.5, for usage on JDK 1.4 or higher
- createLinkedCaseInsensitiveMapIfPossible(int) - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 3.0, for usage on JDK 1.5 or higher
- createLinkedMapIfPossible(int) - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 2.5, for usage on JDK 1.4 or higher
- createLinkedSetIfPossible(int) - Static method in class org.springframework.core. CollectionFactory
-
Deprecated.as of Spring 2.5, for usage on JDK 1.4 or higher
- createMap(Class<?>, int) - Static method in class org.springframework.core. CollectionFactory
-
Create the most approximate map for the given map.
- createReference(ConcurrentReferenceHashMap.Entry<K, V>, int, ConcurrentReferenceHashMap.Reference<K, V>) - Method in class org.springframework.util. ConcurrentReferenceHashMap.ReferenceManager
-
Factory method used to create a new
ConcurrentReferenceHashMap.Reference
. - createReferenceManager() - Method in class org.springframework.util. ConcurrentReferenceHashMap
-
Factory method that returns the
ConcurrentReferenceHashMap.ReferenceManager
. - createRelative(String) - Method in class org.springframework.core.io. AbstractResource
-
This implementation throws a FileNotFoundException, assuming that relative resources cannot be created for this resource.
- createRelative(String) - Method in class org.springframework.core.io. ClassPathResource
-
This implementation creates a ClassPathResource, applying the given path relative to the path of the underlying resource of this descriptor.
- createRelative(String) - Method in class org.springframework.core.io. FileSystemResource
-
This implementation creates a FileSystemResource, applying the given path relative to the path of the underlying file of this resource descriptor.
- createRelative(String) - Method in interface org.springframework.core.io. Resource
-
Create a resource relative to this resource.
- createRelative(String) - Method in class org.springframework.core.io. UrlResource
-
This implementation creates a UrlResource, applying the given path relative to the path of the underlying URL of this resource descriptor.
- createRelative(String) - Method in class org.springframework.core.io. VfsResource
- createStaxResult(XMLStreamWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a StAX
Result
for the givenXMLStreamWriter
. - createStaxResult(XMLEventWriter) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a StAX
Result
for the givenXMLEventWriter
. - createStaxSource(XMLStreamReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a StAX
Source
for the givenXMLStreamReader
. - createStaxSource(XMLEventReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a StAX
Source
for the givenXMLEventReader
. - createThread(Runnable) - Method in class org.springframework.util. CustomizableThreadCreator
-
Template method for the creation of a new
Thread
. - createXMLReader(XMLStreamReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a SAX
XMLReader
that reads from the given StAXXMLStreamReader
. - createXMLReader(XMLEventReader) - Static method in class org.springframework.util.xml. StaxUtils
-
Create a SAX
XMLReader
that reads from the given StAXXMLEventReader
. - CustomizableThreadCreator - Class in org.springframework.util
-
Simple customizable helper class for creating new
Thread
instances. - CustomizableThreadCreator() - Constructor for class org.springframework.util. CustomizableThreadCreator
-
Create a new CustomizableThreadCreator with default thread name prefix.
- CustomizableThreadCreator(String) - Constructor for class org.springframework.util. CustomizableThreadCreator
-
Create a new CustomizableThreadCreator with the given thread name prefix.
- customizeConnection(URLConnection) - Method in class org.springframework.core.io. AbstractFileResolvingResource
-
Customize the given
URLConnection
, obtained in the course of anAbstractFileResolvingResource.exists()
,AbstractFileResolvingResource.contentLength()
orAbstractFileResolvingResource.lastModified()
call. - customizeConnection(HttpURLConnection) - Method in class org.springframework.core.io. AbstractFileResolvingResource
-
Customize the given
HttpURLConnection
, obtained in the course of anAbstractFileResolvingResource.exists()
,AbstractFileResolvingResource.contentLength()
orAbstractFileResolvingResource.lastModified()
call. - customizePropertySources(MutablePropertySources) - Method in class org.springframework.core.env. AbstractEnvironment
-
Customize the set of
PropertySource
objects to be searched by thisEnvironment
during calls toAbstractEnvironment.getProperty(String)
and related methods. - customizePropertySources(MutablePropertySources) - Method in class org.springframework.core.env. StandardEnvironment
-
Customize the set of property sources with those appropriate for any standard Java environment: "systemProperties" "systemEnvironment"
D
- declaresException(Method, Class<?>) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given method explicitly declares the given exception or one of its superclasses, which means that an exception of that type can be propagated as-is within a reflective invocation.
- DecoratingClassLoader - Class in org.springframework.core
-
Base class for decorating ClassLoaders such as
OverridingClassLoader
andorg.springframework.instrument.classloading.ShadowingClassLoader
, providing common handling of excluded packages and classes. - DecoratingClassLoader() - Constructor for class org.springframework.core. DecoratingClassLoader
-
Create a new DecoratingClassLoader with no parent ClassLoader.
- DecoratingClassLoader(ClassLoader) - Constructor for class org.springframework.core. DecoratingClassLoader
-
Create a new DecoratingClassLoader using the given parent ClassLoader for delegation.
- decreaseNestingLevel() - Method in class org.springframework.core. MethodParameter
-
Decrease this parameter's nesting level.
- DEFAULT_CACHE_LIMIT - Static variable in class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Default maximum number of entries for the MetadataReader cache: 256
- DEFAULT_EXCLUDED_PACKAGES - Static variable in class org.springframework.core. OverridingClassLoader
-
Packages that are excluded by default
- DEFAULT_INDENT_AMOUNT - Static variable in class org.springframework.util.xml. TransformerUtils
-
The indent amount of characters if
indenting is enabled
. - DEFAULT_NON_OPTION_ARGS_PROPERTY_NAME - Static variable in class org.springframework.core.env. CommandLinePropertySource
-
The default name of the property representing non-option arguments: "nonOptionArgs"
- DEFAULT_ORDER - Static variable in interface org.springframework.core.enums. LabeledEnum
-
Deprecated.Shared Comparator instance that sorts enumerations by
LABEL_ORDER
, thenCODE_ORDER
. - DEFAULT_PATH_SEPARATOR - Static variable in class org.springframework.util. AntPathMatcher
-
Default path separator: "/"
- DEFAULT_PROFILES_PROPERTY_NAME - Static variable in class org.springframework.core.env. AbstractEnvironment
-
Name of property to set to specify profiles active by default: "spring.profiles.default".
- DEFAULT_SEPARATOR - Static variable in class org.springframework.core.io.support. LocalizedResourceHelper
-
The default separator to use inbetween file name parts: an underscore
- DefaultConversionService - Class in org.springframework.core.convert.support
-
A specialization of
GenericConversionService
configured by default with converters appropriate for most environments. - DefaultConversionService() - Constructor for class org.springframework.core.convert.support. DefaultConversionService
-
Create a new
DefaultConversionService
with the set of default converters. - DefaultDeserializer - Class in org.springframework.core.serializer
-
Deserializer that reads an input stream using Java Serialization.
- DefaultDeserializer() - Constructor for class org.springframework.core.serializer. DefaultDeserializer
- DefaultPropertiesPersister - Class in org.springframework.util
-
Default implementation of the
PropertiesPersister
interface. - DefaultPropertiesPersister() - Constructor for class org.springframework.util. DefaultPropertiesPersister
- DefaultResourceLoader - Class in org.springframework.core.io
-
Default implementation of the
ResourceLoader
interface. - DefaultResourceLoader() - Constructor for class org.springframework.core.io. DefaultResourceLoader
-
Create a new DefaultResourceLoader.
- DefaultResourceLoader(ClassLoader) - Constructor for class org.springframework.core.io. DefaultResourceLoader
-
Create a new DefaultResourceLoader.
- DefaultSerializer - Class in org.springframework.core.serializer
-
Serializer that writes an object to an output stream using Java Serialization.
- DefaultSerializer() - Constructor for class org.springframework.core.serializer. DefaultSerializer
- DefaultToStringStyler - Class in org.springframework.core.style
-
Spring's default
toString()
styler. - DefaultToStringStyler(ValueStyler) - Constructor for class org.springframework.core.style. DefaultToStringStyler
-
Create a new DefaultToStringStyler.
- DefaultValueStyler - Class in org.springframework.core.style
-
Converts objects to String form, generally for debugging purposes, using Spring's
toString
styling conventions. - DefaultValueStyler() - Constructor for class org.springframework.core.style. DefaultValueStyler
- delete(String, String) - Static method in class org.springframework.util. StringUtils
-
Delete all occurrences of the given substring.
- deleteAny(String, String) - Static method in class org.springframework.util. StringUtils
-
Delete any character in a given String.
- deleteRecursively(File) - Static method in class org.springframework.util. FileSystemUtils
-
Delete the supplied
File
- for directories, recursively delete any nested directories or files as well. - delimitedListToStringArray(String, String) - Static method in class org.springframework.util. StringUtils
-
Take a String which is a delimited list and convert it to a String array.
- delimitedListToStringArray(String, String, String) - Static method in class org.springframework.util. StringUtils
-
Take a String which is a delimited list and convert it to a String array.
- DescriptiveResource - Class in org.springframework.core.io
-
Simple
Resource
implementation that holds a resource description but does not point to an actually readable resource. - DescriptiveResource(String) - Constructor for class org.springframework.core.io. DescriptiveResource
-
Create a new DescriptiveResource.
- deserialize(InputStream) - Method in class org.springframework.core.serializer. DefaultDeserializer
-
Reads the input stream and deserializes into an object.
- deserialize(InputStream) - Method in interface org.springframework.core.serializer. Deserializer
-
Read (assemble) an object of type T from the given InputStream.
- deserialize(byte[]) - Static method in class org.springframework.util. SerializationUtils
-
Deserialize the byte array into an object.
- Deserializer< T> - Interface in org.springframework.core.serializer
-
A strategy interface for converting from data in an InputStream to an Object.
- DeserializingConverter - Class in org.springframework.core.serializer.support
-
A
Converter
that delegates to aDeserializer
to convert data in a byte array to an object. - DeserializingConverter() - Constructor for class org.springframework.core.serializer.support. DeserializingConverter
-
Create a default DeserializingConverter that uses standard Java deserialization.
- DeserializingConverter(Deserializer<Object>) - Constructor for class org.springframework.core.serializer.support. DeserializingConverter
-
Create a DeserializingConverter that delegates to the provided
Deserializer
. - detectValidationMode(InputStream) - Method in class org.springframework.util.xml. XmlValidationModeDetector
-
Detect the validation mode for the XML document in the supplied
InputStream
. - determineCommonAncestor(Class<?>, Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Determine the common ancestor of the given classes, if any.
- determineRootDir(String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Determine the root directory for the given location.
- DigestUtils - Class in org.springframework.util
-
Miscellaneous methods for calculating digests.
- DigestUtils() - Constructor for class org.springframework.util. DigestUtils
- disableIndenting(Transformer) - Static method in class org.springframework.util.xml. TransformerUtils
-
Disable indenting for the supplied
Transformer
. - doesNotContain(String, String, String) - Static method in class org.springframework.util. Assert
-
Assert that the given text does not contain the given substring.
- doesNotContain(String, String) - Static method in class org.springframework.util. Assert
-
Assert that the given text does not contain the given substring.
- doExecute(Runnable) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Template method for the actual execution of a task.
- doFindMatchingFileSystemResources(File, String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Find all resources in the file system that match the given location pattern via the Ant-style PathMatcher.
- doFindPathMatchingFileResources(Resource, String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Find all resources in the file system that match the given location pattern via the Ant-style PathMatcher.
- doFindPathMatchingJarResources(Resource, String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Find all resources in jar files that match the given location pattern via the Ant-style PathMatcher.
- doGetActiveProfiles() - Method in class org.springframework.core.env. AbstractEnvironment
-
Return the set of active profiles as explicitly set through
AbstractEnvironment.setActiveProfiles(java.lang.String...)
or if the current set of active profiles is empty, check for the presence of the "spring.profiles.active" property and assign its value to the set of active profiles. - doGetDefaultProfiles() - Method in class org.springframework.core.env. AbstractEnvironment
-
Return the set of default profiles explicitly set via
AbstractEnvironment.setDefaultProfiles(String...)
or if the current set of default profiles consists only of reserved default profiles, then check for the presence of the "spring.profiles.default" property and assign its value (if any) to the set of default profiles. - doGetPath(Object) - Static method in class org.springframework.core.io. VfsUtils
- doGetVisitorAttribute() - Static method in class org.springframework.core.io. VfsUtils
- doLoad(Properties, Reader) - Method in class org.springframework.util. DefaultPropertiesPersister
- doMatch(String, String, boolean, Map<String, String>) - Method in class org.springframework.util. AntPathMatcher
-
Actually match the given
path
against the givenpattern
. - DomUtils - Class in org.springframework.util.xml
-
Convenience methods for working with the DOM API, in particular for working with DOM Nodes and DOM Elements.
- DomUtils() - Constructor for class org.springframework.util.xml. DomUtils
- doRetrieveMatchingFiles(String, File, Set<File>) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Recursively retrieve files that match the given pattern, adding them to the given result list.
- doStore(Properties, Writer, String) - Method in class org.springframework.util. DefaultPropertiesPersister
- doTask(int, Object, ConcurrentReferenceHashMap<K, V>.Task<T>) - Method in class org.springframework.util. ConcurrentReferenceHashMap.Segment
-
Apply an update operation to this segment.
- doWith(Field) - Method in interface org.springframework.util. ReflectionUtils.FieldCallback
-
Perform an operation using the given field.
- doWith(Method) - Method in interface org.springframework.util. ReflectionUtils.MethodCallback
-
Perform an operation using the given method.
- doWithFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class org.springframework.util. ReflectionUtils
-
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
- doWithFields(Class<?>, ReflectionUtils.FieldCallback, ReflectionUtils.FieldFilter) - Static method in class org.springframework.util. ReflectionUtils
-
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
- doWithMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class org.springframework.util. ReflectionUtils
-
Perform the given callback operation on all matching methods of the given class and superclasses.
- doWithMethods(Class<?>, ReflectionUtils.MethodCallback, ReflectionUtils.MethodFilter) - Static method in class org.springframework.util. ReflectionUtils
-
Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).
E
- elementTypeDescriptor(Object) - Method in class org.springframework.core.convert. TypeDescriptor
-
If this type is a
Collection
or an Array, creates a element TypeDescriptor from the provided collection or array element. - EMPTY_NAMES_ARRAY - Static variable in class org.springframework.core.env. EnumerablePropertySource
- enableIndenting(Transformer) - Static method in class org.springframework.util.xml. TransformerUtils
-
Enable indenting for the supplied
Transformer
. - enableIndenting(Transformer, int) - Static method in class org.springframework.util.xml. TransformerUtils
-
Enable indenting for the supplied
Transformer
. - EncodedResource - Class in org.springframework.core.io.support
-
Holder that combines a
Resource
with a specific encoding to be used for reading from the resource. - EncodedResource(Resource) - Constructor for class org.springframework.core.io.support. EncodedResource
-
Create a new EncodedResource for the given Resource, not specifying a specific encoding.
- EncodedResource(Resource, String) - Constructor for class org.springframework.core.io.support. EncodedResource
-
Create a new EncodedResource for the given Resource, using the specified encoding.
- EncodedResource(Resource, Charset) - Constructor for class org.springframework.core.io.support. EncodedResource
-
Create a new EncodedResource for the given Resource, using the specified encoding.
- endsWithContinuationMarker(String) - Method in class org.springframework.util. DefaultPropertiesPersister
- endsWithIgnoreCase(String, String) - Static method in class org.springframework.util. StringUtils
-
Test if the given String ends with the specified suffix, ignoring upper/lower case.
- entrySet() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- entrySet() - Method in class org.springframework.util. ConcurrentReferenceHashMap
- entrySet() - Method in class org.springframework.util. LinkedMultiValueMap
- EnumerablePropertySource< T> - Class in org.springframework.core.env
-
A
PropertySource
implementation capable of interrogating its underlying source object to enumerate all possible property name/value pairs. - EnumerablePropertySource(String, T) - Constructor for class org.springframework.core.env. EnumerablePropertySource
- Environment - Interface in org.springframework.core.env
-
Interface representing the environment in which the current application is running.
- EnvironmentCapable - Interface in org.springframework.core.env
-
Interface indicating a component that contains and exposes an
Environment
reference. - equals(Object) - Method in class org.springframework.core. AttributeAccessorSupport
- equals(Object) - Method in class org.springframework.core.convert.converter. GenericConverter.ConvertiblePair
- equals(Object) - Method in class org.springframework.core.convert. Property
- equals(Object) - Method in class org.springframework.core.convert. TypeDescriptor
- equals(Object) - Method in class org.springframework.core.enums. AbstractLabeledEnum
-
Deprecated.
- equals(Object) - Method in class org.springframework.core.env. PropertySource
-
This
PropertySource
object is equal to the given object if: they are the same instance thename
properties for both objects are equal - equals(Object) - Method in class org.springframework.core.io. AbstractResource
-
This implementation compares description strings.
- equals(Object) - Method in class org.springframework.core.io. ByteArrayResource
-
This implementation compares the underlying byte array.
- equals(Object) - Method in class org.springframework.core.io. ClassPathResource
-
This implementation compares the underlying class path locations.
- equals(Object) - Method in class org.springframework.core.io. DescriptiveResource
-
This implementation compares the underlying description String.
- equals(Object) - Method in class org.springframework.core.io. FileSystemResource
-
This implementation compares the underlying File references.
- equals(Object) - Method in class org.springframework.core.io. InputStreamResource
-
This implementation compares the underlying InputStream.
- equals(Object) - Method in class org.springframework.core.io.support. EncodedResource
- equals(Object) - Method in class org.springframework.core.io. UrlResource
-
This implementation compares the underlying URL references.
- equals(Object) - Method in class org.springframework.core.io. VfsResource
- equals(Object) - Method in class org.springframework.core. MethodParameter
- equals(Object) - Method in class org.springframework.core. ParameterizedTypeReference
- equals(Object) - Method in class org.springframework.util. AutoPopulatingList
- equals(Object) - Method in class org.springframework.util.comparator. BooleanComparator
- equals(Object) - Method in class org.springframework.util.comparator. CompoundComparator
- equals(Object) - Method in class org.springframework.util.comparator. InvertibleComparator
- equals(Object) - Method in class org.springframework.util.comparator. NullSafeComparator
- equals(Object) - Method in class org.springframework.util. ConcurrentReferenceHashMap.Entry
- equals(Object) - Method in class org.springframework.util. LinkedMultiValueMap
- error(SAXParseException) - Method in class org.springframework.util.xml. SimpleSaxErrorHandler
- error(TransformerException) - Method in class org.springframework.util.xml. SimpleTransformErrorListener
- ErrorCoded - Interface in org.springframework.core
-
Interface that can be implemented by exceptions etc that are error coded.
- ErrorHandler - Interface in org.springframework.util
-
A strategy for handling errors.
- escape(String, boolean) - Method in class org.springframework.util. DefaultPropertiesPersister
- ExceptionDepthComparator - Class in org.springframework.core
-
Comparator capable of sorting exceptions based on their depth from the thrown exception type.
- ExceptionDepthComparator(Throwable) - Constructor for class org.springframework.core. ExceptionDepthComparator
-
Create a new ExceptionDepthComparator for the given exception.
- ExceptionDepthComparator(Class<? extends Throwable>) - Constructor for class org.springframework.core. ExceptionDepthComparator
-
Create a new ExceptionDepthComparator for the given exception type.
- excludeClass(String) - Method in class org.springframework.core. DecoratingClassLoader
-
Add a class name to exclude from decoration (e.g.
- excludePackage(String) - Method in class org.springframework.core. DecoratingClassLoader
-
Add a package name to exclude from decoration (e.g.
- execute(Runnable, long) - Method in interface org.springframework.core.task. AsyncTaskExecutor
-
Execute the given
task
. - execute(Runnable) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Executes the given task, within a concurrency throttle if configured (through the superclass's settings).
- execute(Runnable, long) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Executes the given task, within a concurrency throttle if configured (through the superclass's settings).
- execute(Runnable) - Method in class org.springframework.core.task.support. ConcurrentExecutorAdapter
- execute(Runnable) - Method in class org.springframework.core.task.support. ExecutorServiceAdapter
- execute(Runnable) - Method in class org.springframework.core.task.support. TaskExecutorAdapter
-
Delegates to the specified JDK concurrent executor.
- execute(Runnable, long) - Method in class org.springframework.core.task.support. TaskExecutorAdapter
- execute(Runnable) - Method in class org.springframework.core.task. SyncTaskExecutor
-
Executes the given
task
synchronously, through direct invocation of it'srun()
method. - execute(Runnable) - Method in interface org.springframework.core.task. TaskExecutor
-
Execute the given
task
. - ExecutorServiceAdapter - Class in org.springframework.core.task.support
-
Adapter that takes a Spring
TaskExecutor
) and exposes a fulljava.util.concurrent.ExecutorService
for it. - ExecutorServiceAdapter(TaskExecutor) - Constructor for class org.springframework.core.task.support. ExecutorServiceAdapter
-
Create a new ExecutorServiceAdapter, using the given target executor.
- exists() - Method in class org.springframework.core.io. AbstractFileResolvingResource
- exists() - Method in class org.springframework.core.io. AbstractResource
-
This implementation checks whether a File can be opened, falling back to whether an InputStream can be opened.
- exists() - Method in class org.springframework.core.io. ByteArrayResource
-
This implementation always returns
true
. - exists() - Method in class org.springframework.core.io. ClassPathResource
-
This implementation checks for the resolution of a resource URL.
- exists() - Method in class org.springframework.core.io. DescriptiveResource
- exists() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns whether the underlying file exists.
- exists() - Method in class org.springframework.core.io. InputStreamResource
-
This implementation always returns
true
. - exists() - Method in interface org.springframework.core.io. Resource
-
Return whether this resource actually exists in physical form.
- exists() - Method in class org.springframework.core.io. VfsResource
- extractJarFileURL(URL) - Static method in class org.springframework.util. ResourceUtils
-
Extract the URL for the actual jar file from the given URL (which may point to a resource in a jar file or to a jar file itself).
- extractPathWithinPattern(String, String) - Method in class org.springframework.util. AntPathMatcher
-
Given a pattern and a full path, determine the pattern-mapped part.
- extractPathWithinPattern(String, String) - Method in interface org.springframework.util. PathMatcher
-
Given a pattern and a full path, determine the pattern-mapped part.
- extractUriTemplateVariables(String, String) - Method in class org.springframework.util. AntPathMatcher
- extractUriTemplateVariables(String, String) - Method in interface org.springframework.util. PathMatcher
-
Given a pattern and a full path, extract the URI template variables.
F
- fatalError(SAXParseException) - Method in class org.springframework.util.xml. SimpleSaxErrorHandler
- fatalError(TransformerException) - Method in class org.springframework.util.xml. SimpleTransformErrorListener
- FILE_URL_PREFIX - Static variable in class org.springframework.util. ResourceUtils
-
URL prefix for loading from the file system: "file:"
- FileCopyUtils - Class in org.springframework.util
-
Simple utility methods for file and stream copying.
- FileCopyUtils() - Constructor for class org.springframework.util. FileCopyUtils
- FileSystemResource - Class in org.springframework.core.io
-
Resource
implementation forjava.io.File
handles. - FileSystemResource(File) - Constructor for class org.springframework.core.io. FileSystemResource
-
Create a new
FileSystemResource
from aFile
handle. - FileSystemResource(String) - Constructor for class org.springframework.core.io. FileSystemResource
-
Create a new
FileSystemResource
from a file path. - FileSystemResourceLoader - Class in org.springframework.core.io
-
ResourceLoader
implementation that resolves plain paths as file system resources rather than as class path resources (the latter isDefaultResourceLoader
's default strategy). - FileSystemResourceLoader() - Constructor for class org.springframework.core.io. FileSystemResourceLoader
- FileSystemUtils - Class in org.springframework.util
-
Utility methods for working with the file system.
- FileSystemUtils() - Constructor for class org.springframework.util. FileSystemUtils
- fillProperties(Properties, EncodedResource) - Static method in class org.springframework.core.io.support. PropertiesLoaderUtils
-
Fill the given properties from the given EncodedResource, potentially defining a specific encoding for the properties file.
- fillProperties(Properties, Resource) - Static method in class org.springframework.core.io.support. PropertiesLoaderUtils
-
Fill the given properties from the given resource (in ISO-8859-1 encoding).
- findAllClassPathResources(String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Find all class location resources with the given location via the ClassLoader.
- findAnnotation(Method, Class<A>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Get a single
Annotation
ofannotationType
from the suppliedMethod
, traversing its super methods if no annotation can be found on the given method itself. - findAnnotation(Class<?>, Class<A>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Find a single
Annotation
ofannotationType
from the suppliedClass
, traversing its interfaces and superclasses if no annotation can be found on the given class itself. - findAnnotationDeclaringClass(Class<? extends Annotation>, Class<?>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Find the first
Class
in the inheritance hierarchy of the specifiedclazz
(including the specifiedclazz
itself) which declares an annotation for the specifiedannotationType
, ornull
if not found. - findAnnotationDeclaringClassForTypes(List<Class<? extends Annotation>>, Class<?>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Find the first
Class
in the inheritance hierarchy of the specifiedclazz
(including the specifiedclazz
itself) which declares at least one of the specifiedannotationTypes
, ornull
if none of the specified annotation types could be found. - findBridgedMethod(Method) - Static method in class org.springframework.core. BridgeMethodResolver
-
Find the original method for the supplied
bridge Method
. - findClosestMatch(Collection<Class<? extends Throwable>>, Throwable) - Static method in class org.springframework.core. ExceptionDepthComparator
-
Obtain the closest match from the given exception types for the given target exception.
- findCommonElementType(Collection) - Static method in class org.springframework.util. CollectionUtils
-
Find the common element type of the given Collection, if any.
- findField(Class<?>, String) - Static method in class org.springframework.util. ReflectionUtils
- findField(Class<?>, String, Class<?>) - Static method in class org.springframework.util. ReflectionUtils
- findFirstMatch(Collection, Collection) - Static method in class org.springframework.util. CollectionUtils
-
Return the first element in '
candidates
' that is contained in 'source
'. - findLabeledEnums(Class) - Method in class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.Template method to be implemented by subclasses.
- findLabeledEnums(Class) - Method in class org.springframework.core.enums. StaticLabeledEnumResolver
-
Deprecated.
- findLocalizedResource(String, String, Locale) - Method in class org.springframework.core.io.support. LocalizedResourceHelper
-
Find the most specific localized resource for the given name, extension and locale:
- findMatchingMethod() - Method in class org.springframework.util. MethodInvoker
-
Find a matching method with the specified name for the specified arguments.
- findMethod(Class<?>, String) - Static method in class org.springframework.util. ReflectionUtils
-
Attempt to find a
Method
on the supplied class with the supplied name and no parameters. - findMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.util. ReflectionUtils
-
Attempt to find a
Method
on the supplied class with the supplied name and parameter types. - findPathMatchingResources(String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Find all resources that match the given location pattern via the Ant-style PathMatcher.
- findValueOfType(Collection<?>, Class<T>) - Static method in class org.springframework.util. CollectionUtils
-
Find a single value of the given type in the given Collection.
- findValueOfType(Collection<?>, Class<?>[]) - Static method in class org.springframework.util. CollectionUtils
-
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.
- flush() - Method in class org.springframework.util. CommonsLogWriter
- forMethodOrConstructor(Object, int) - Static method in class org.springframework.core. MethodParameter
-
Create a new MethodParameter for the given method or constructor.
- forName(String) - Static method in class org.springframework.util. ClassUtils
-
Deprecated.as of Spring 3.0, in favor of specifying a ClassLoader explicitly: see
ClassUtils.forName(String, ClassLoader)
- forName(String, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Replacement for
Class.forName()
that also returns Class instances for primitives (e.g."int") and array class names (e.g. - forObject(Object) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor for an object.
- fromMap(Map<String, Object>) - Static method in class org.springframework.core.annotation. AnnotationAttributes
-
Return an
AnnotationAttributes
instance based on the given map; if the map is already anAnnotationAttributes
instance, it is casted and returned immediately without creating any new instance; otherwise create a new instance by wrapping the map with theAnnotationAttributes.AnnotationAttributes(Map)
constructor.
G
- GenericCollectionTypeResolver - Class in org.springframework.core
-
Helper class for determining element types of collections and maps.
- GenericCollectionTypeResolver() - Constructor for class org.springframework.core. GenericCollectionTypeResolver
- GenericConversionService - Class in org.springframework.core.convert.support
-
Base
ConversionService
implementation suitable for use in most environments. - GenericConversionService() - Constructor for class org.springframework.core.convert.support. GenericConversionService
- GenericConverter - Interface in org.springframework.core.convert.converter
-
Generic converter interface for converting between two or more types.
- GenericConverter.ConvertiblePair - Class in org.springframework.core.convert.converter
-
Holder for a source-to-target class pair.
- GenericConverter.ConvertiblePair(Class<?>, Class<?>) - Constructor for class org.springframework.core.convert.converter. GenericConverter.ConvertiblePair
-
Create a new source-to-target pair.
- GenericTypeResolver - Class in org.springframework.core
-
Helper class for resolving generic types against type variables.
- GenericTypeResolver() - Constructor for class org.springframework.core. GenericTypeResolver
- get(String) - Method in class org.springframework.core.env. MutablePropertySources
- get(String) - Method in interface org.springframework.core.env. PropertySources
-
Return the property source with the given name,
null
if not found. - get(int) - Method in class org.springframework.util. AutoPopulatingList
-
Get the element at the supplied index, creating it if there is no element at that index.
- get(Object) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.Get value for key.
- get(Object) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- get() - Method in interface org.springframework.util. ConcurrentReferenceHashMap.Reference
-
Returns the referenced entry or
null
if the entry is no longer available. - get(Object) - Method in class org.springframework.util. LinkedCaseInsensitiveMap
- get(Object) - Method in class org.springframework.util. LinkedMultiValueMap
- getActiveProfiles() - Method in class org.springframework.core.env. AbstractEnvironment
- getActiveProfiles() - Method in interface org.springframework.core.env. Environment
-
Return the set of profiles explicitly made active for this environment.
- getAliases(String) - Method in interface org.springframework.core. AliasRegistry
-
Return the aliases for the given name, if defined.
- getAliases(String) - Method in class org.springframework.core. SimpleAliasRegistry
- getAllDeclaredMethods(Class<?>) - Static method in class org.springframework.util. ReflectionUtils
-
Get all declared methods on the leaf class and all superclasses.
- getAllInterfaces(Object) - Static method in class org.springframework.util. ClassUtils
-
Return all interfaces that the given instance implements as array, including ones implemented by superclasses.
- getAllInterfacesAsSet(Object) - Static method in class org.springframework.util. ClassUtils
-
Return all interfaces that the given instance implements as Set, including ones implemented by superclasses.
- getAllInterfacesForClass(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Return all interfaces that the given class implements as array, including ones implemented by superclasses.
- getAllInterfacesForClass(Class<?>, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Return all interfaces that the given class implements as array, including ones implemented by superclasses.
- getAllInterfacesForClassAsSet(Class) - Static method in class org.springframework.util. ClassUtils
-
Return all interfaces that the given class implements as Set, including ones implemented by superclasses.
- getAllInterfacesForClassAsSet(Class, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Return all interfaces that the given class implements as Set, including ones implemented by superclasses.
- getAnnotatedMethods(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Retrieve the method metadata for all methods that are annotated (or meta-annotated) with the given annotation type.
- getAnnotatedMethods(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- getAnnotation(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getAnnotation(AnnotatedElement, Class<T>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Get a single
Annotation
ofannotationType
from the supplied Method, Constructor or Field. - getAnnotation(Method, Class<A>) - Static method in class org.springframework.core.annotation. AnnotationUtils
- getAnnotation(Class<T>) - Method in class org.springframework.core.convert. TypeDescriptor
-
Obtain the annotation associated with this type descriptor of the specified type.
- getAnnotationArray(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getAnnotationAttributes(Annotation) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the given annotation's attributes as a Map, preserving all attribute types as-is.
- getAnnotationAttributes(Annotation, boolean) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the given annotation's attributes as a Map.
- getAnnotationAttributes(Annotation, boolean, boolean) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the given annotation's attributes as an
AnnotationAttributes
map structure. - getAnnotationAttributes(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Retrieve the attributes of the annotation of the given type, if any (i.e.
- getAnnotationAttributes(String, boolean) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Retrieve the attributes of the annotation of the given type, if any (i.e.
- getAnnotationAttributes(String) - Method in interface org.springframework.core.type. MethodMetadata
-
Retrieve the attributes of the annotation of the given type, if any (i.e.
- getAnnotationAttributes(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- getAnnotationAttributes(String, boolean) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- getAnnotationAttributes(String) - Method in class org.springframework.core.type. StandardMethodMetadata
- getAnnotationMetadata() - Method in interface org.springframework.core.type.classreading. MetadataReader
-
Read full annotation metadata for the underlying class, including metadata for annotated methods.
- getAnnotations(Method) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Get all
Annotations
from the suppliedMethod
. - getAnnotations() - Method in class org.springframework.core.convert. TypeDescriptor
-
The annotations associated with this type descriptor, if any.
- getAnnotationTypes() - Method in interface org.springframework.core.type. AnnotationMetadata
-
Return the names of all annotation types defined on the underlying class.
- getAnnotationTypes() - Method in class org.springframework.core.type. StandardAnnotationMetadata
- getArguments() - Method in class org.springframework.util. MethodInvoker
-
Return the arguments for the method invocation.
- getAsText() - Method in class org.springframework.core.convert.support. ConvertingPropertyEditorAdapter
- getAsText() - Method in class org.springframework.core.io. ResourceEditor
- getAttribute(String) - Method in interface org.springframework.core. AttributeAccessor
-
Get the value of the attribute identified by
name
. - getAttribute(String) - Method in class org.springframework.core. AttributeAccessorSupport
- getBoolean(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getBoundPrefixes() - Method in class org.springframework.util.xml. SimpleNamespaceContext
-
Returns all declared prefixes.
- getByteArray() - Method in class org.springframework.core.io. ByteArrayResource
-
Return the underlying byte array.
- getCacheLimit() - Method in class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Return the maximum number of entries for the MetadataReader cache.
- getCharset() - Method in class org.springframework.core.io.support. EncodedResource
-
Return the charset to use for reading from the resource, or
null
if none specified. - getChildElementByTagName(Element, String) - Static method in class org.springframework.util.xml. DomUtils
-
Utility method that returns the first child element identified by its name.
- getChildElements(Element) - Static method in class org.springframework.util.xml. DomUtils
-
Retrieves all child elements of the given DOM element
- getChildElementsByTagName(Element, String...) - Static method in class org.springframework.util.xml. DomUtils
-
Retrieves all child elements of the given DOM element that match any of the given element names.
- getChildElementsByTagName(Element, String) - Static method in class org.springframework.util.xml. DomUtils
-
Retrieves all child elements of the given DOM element that match the given element name.
- getChildElementValueByTagName(Element, String) - Static method in class org.springframework.util.xml. DomUtils
-
Utility method that returns the first child element value identified by its name.
- getClass(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getClassArray(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getClassFileName(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Determine the name of the class file, relative to the containing package: e.g.
- getClassLoader() - Method in class org.springframework.core.io. ClassPathResource
-
Return the ClassLoader that this resource will be obtained from.
- getClassLoader() - Method in class org.springframework.core.io. DefaultResourceLoader
-
Return the ClassLoader to load class path resources with.
- getClassLoader() - Method in interface org.springframework.core.io. ResourceLoader
-
Expose the ClassLoader used by this ResourceLoader.
- getClassLoader() - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
- getClassMetadata() - Method in interface org.springframework.core.type.classreading. MetadataReader
-
Read basic class metadata for the underlying class.
- getClassName() - Method in class org.springframework.core. Constants
-
Return the name of the analyzed class.
- getClassName() - Method in interface org.springframework.core.type. ClassMetadata
-
Return the name of the underlying class.
- getClassName() - Method in class org.springframework.core.type. StandardClassMetadata
- getCode() - Method in interface org.springframework.core.enums. LabeledEnum
-
Deprecated.Return this enumeration's code.
- getCode() - Method in class org.springframework.core.enums. LetterCodedLabeledEnum
-
Deprecated.
- getCode() - Method in class org.springframework.core.enums. ShortCodedLabeledEnum
-
Deprecated.
- getCode() - Method in class org.springframework.core.enums. StaticLabeledEnum
-
Deprecated.
- getCode() - Method in class org.springframework.core.enums. StringCodedLabeledEnum
-
Deprecated.
- getCollectionFieldType(Field) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection field.
- getCollectionFieldType(Field, int) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection field.
- getCollectionFieldType(Field, int, Map<Integer, Integer>) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection field.
- getCollectionParameterType(MethodParameter) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection parameter.
- getCollectionReturnType(Method) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection return type.
- getCollectionReturnType(Method, int) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection return type.
- getCollectionType(Class<? extends Collection>) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic element type of the given Collection class (if it declares one through a generic superclass or generic interface).
- getComparatorCount() - Method in class org.springframework.util.comparator. CompoundComparator
-
Returns the number of aggregated comparators.
- getConcurrencyLimit() - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Return the maximum number of parallel accesses allowed.
- getConcurrencyLimit() - Method in class org.springframework.util. ConcurrencyThrottleSupport
-
Return the maximum number of concurrent access attempts allowed.
- getConstructor() - Method in class org.springframework.core. MethodParameter
-
Return the wrapped Constructor, if any.
- getConstructorIfAvailable(Class<T>, Class<?>...) - Static method in class org.springframework.util. ClassUtils
-
Determine whether the given class has a public constructor with the given signature, and return it if available (else return
null
). - getConversionService() - Method in class org.springframework.core.env. AbstractEnvironment
- getConversionService() - Method in class org.springframework.core.env. AbstractPropertyResolver
- getConversionService() - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
- getConverter(Class<T>) - Method in interface org.springframework.core.convert.converter. ConverterFactory
-
Get the converter to convert from S to target type T, where T is also an instance of R.
- getConverter(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
-
Hook method to lookup the converter for a given sourceType/targetType pair.
- getConvertibleTypes() - Method in interface org.springframework.core.convert.converter. GenericConverter
-
Return the source and target types which this converter can convert between.
- getCount() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Segment
- getDeclaringClass() - Method in class org.springframework.core. MethodParameter
-
Return the class that declares the underlying Method or Constructor.
- getDeclaringClassName() - Method in interface org.springframework.core.type. MethodMetadata
-
Return the fully-qualified name of the class that declares this method.
- getDeclaringClassName() - Method in class org.springframework.core.type. StandardMethodMetadata
- getDefaultClassLoader() - Static method in class org.springframework.util. ClassUtils
-
Return the default ClassLoader to use: typically the thread context ClassLoader, if available; the ClassLoader that loaded the ClassUtils class will be used as fallback.
- getDefaultConverter(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support. GenericConversionService
-
Return the default converter if no converter is found for the given sourceType/targetType pair.
- getDefaultProfiles() - Method in class org.springframework.core.env. AbstractEnvironment
- getDefaultProfiles() - Method in interface org.springframework.core.env. Environment
-
Return the set of profiles to be active by default when no active profiles have been set explicitly.
- getDefaultThreadNamePrefix() - Method in class org.springframework.util. CustomizableThreadCreator
-
Build the default thread name prefix for this factory.
- getDefaultValue(Annotation) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the default value of the
"value"
attribute of a single-element Annotation, given an annotation instance. - getDefaultValue(Annotation, String) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the default value of a named Annotation attribute, given an annotation instance.
- getDefaultValue(Class<? extends Annotation>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the default value of the
"value"
attribute of a single-element Annotation, given theannotation type
. - getDefaultValue(Class<? extends Annotation>, String) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the default value of a named Annotation attribute, given the
annotation type
. - getDescription() - Method in class org.springframework.core.io. ByteArrayResource
-
This implementation returns the passed-in description, if any.
- getDescription() - Method in class org.springframework.core.io. ClassPathResource
-
This implementation returns a description that includes the class path location.
- getDescription() - Method in class org.springframework.core.io. DescriptiveResource
- getDescription() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns a description that includes the absolute path of the file.
- getDescription() - Method in class org.springframework.core.io. InputStreamResource
-
This implementation returns the passed-in description, if any.
- getDescription() - Method in interface org.springframework.core.io. Resource
-
Return a description for this resource, to be used for error output when working with the resource.
- getDescription() - Method in class org.springframework.core.io. UrlResource
-
This implementation returns a description that includes the URL.
- getDescription() - Method in class org.springframework.core.io. VfsResource
- getDescriptiveType(Object) - Static method in class org.springframework.util. ClassUtils
-
Return a descriptive name for the given object's type: usually simply the class name, but component type class name + "[]" for arrays, and an appended list of implemented interfaces for JDK proxies.
- getDisplayString(Object) - Static method in class org.springframework.util. ObjectUtils
-
Return a content-based String representation if
obj
is notnull
; otherwise returns an empty String. - getElementType() - Method in class org.springframework.core.convert. TypeDescriptor
-
Deprecated.in Spring 3.1 in favor of
TypeDescriptor.getElementTypeDescriptor()
- getElementTypeDescriptor() - Method in class org.springframework.core.convert. TypeDescriptor
-
If this type is an array, returns the array's component type.
- getEnclosingClassName() - Method in interface org.springframework.core.type. ClassMetadata
-
Return the name of the enclosing class of the underlying class, or
null
if the underlying class is a top-level class. - getEnclosingClassName() - Method in class org.springframework.core.type. StandardClassMetadata
- getEncoding() - Method in class org.springframework.core.io.support. EncodedResource
-
Return the encoding to use for reading from the resource, or
null
if none specified. - getEnum(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getEnvironment() - Method in interface org.springframework.core.env. EnvironmentCapable
-
Return the
Environment
associated with this component. - getErrorCode() - Method in interface org.springframework.core. ErrorCoded
-
Return the error code associated with this failure.
- getFallbackClassLoader() - Method in class org.springframework.core. ConfigurableObjectInputStream
-
Return the fallback ClassLoader to use when no ClassLoader was specified and ObjectInputStream's own default ClassLoader failed.
- getField(Field, Object) - Static method in class org.springframework.util. ReflectionUtils
-
Get the field represented by the supplied
field object
on the specifiedtarget object
. - getFieldCache() - Method in class org.springframework.core. Constants
-
Exposes the field cache to subclasses: a Map from String field name to object value.
- getFile() - Method in class org.springframework.core.io. AbstractFileResolvingResource
-
This implementation returns a File reference for the underlying class path resource, provided that it refers to a file in the file system.
- getFile(URI) - Method in class org.springframework.core.io. AbstractFileResolvingResource
-
This implementation returns a File reference for the underlying class path resource, provided that it refers to a file in the file system.
- getFile() - Method in class org.springframework.core.io. AbstractResource
-
This implementation throws a FileNotFoundException, assuming that the resource cannot be resolved to an absolute file path.
- getFile() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns the underlying File reference.
- getFile() - Method in interface org.springframework.core.io. Resource
-
Return a File handle for this resource.
- getFile() - Method in class org.springframework.core.io. UrlResource
-
This implementation returns a File reference for the underlying URL/URI, provided that it refers to a file in the file system.
- getFile() - Method in class org.springframework.core.io. VfsResource
- getFile(String) - Static method in class org.springframework.util. ResourceUtils
-
Resolve the given resource location to a
java.io.File
, i.e. - getFile(URL) - Static method in class org.springframework.util. ResourceUtils
-
Resolve the given resource URL to a
java.io.File
, i.e. - getFile(URL, String) - Static method in class org.springframework.util. ResourceUtils
-
Resolve the given resource URL to a
java.io.File
, i.e. - getFile(URI) - Static method in class org.springframework.util. ResourceUtils
-
Resolve the given resource URI to a
java.io.File
, i.e. - getFile(URI, String) - Static method in class org.springframework.util. ResourceUtils
-
Resolve the given resource URI to a
java.io.File
, i.e. - getFileForLastModifiedCheck() - Method in class org.springframework.core.io. AbstractFileResolvingResource
-
This implementation determines the underlying File (or jar file, in case of a resource in a jar/zip).
- getFileForLastModifiedCheck() - Method in class org.springframework.core.io. AbstractResource
-
Determine the File to use for timestamp checking.
- getFilename() - Method in class org.springframework.core.io. AbstractResource
-
This implementation always returns
null
, assuming that this resource type does not have a filename. - getFilename() - Method in class org.springframework.core.io. ClassPathResource
-
This implementation returns the name of the file that this class path resource refers to.
- getFilename() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns the name of the file.
- getFilename() - Method in interface org.springframework.core.io. Resource
-
Determine a filename for this resource, i.e.
- getFilename() - Method in class org.springframework.core.io. UrlResource
-
This implementation returns the name of the file that this URL refers to.
- getFilename() - Method in class org.springframework.core.io. VfsResource
- getFilename(String) - Static method in class org.springframework.util. StringUtils
-
Extract the filename from the given path, e.g.
- getFilenameExtension(String) - Static method in class org.springframework.util. StringUtils
-
Extract the filename extension from the given path, e.g.
- getFirst(K) - Method in class org.springframework.util. LinkedMultiValueMap
- getFirst(K) - Method in interface org.springframework.util. MultiValueMap
-
Return the first value for the given key.
- getFlag(String) - Static method in class org.springframework.core. SpringProperties
-
Retrieve the flag for the given property key.
- getGenericParameterType() - Method in class org.springframework.core. MethodParameter
-
Return the generic type of the method/constructor parameter.
- getHash(Object) - Method in class org.springframework.util. ConcurrentReferenceHashMap
-
Get the hash for a given object, apply an additional hash function to reduce collisions.
- getHash() - Method in interface org.springframework.util. ConcurrentReferenceHashMap.Reference
-
Returns the hash for the reference.
- getIdentityHexString(Object) - Static method in class org.springframework.util. ObjectUtils
-
Return a hex String form of an object's identity hash code.
- getInputStream() - Method in class org.springframework.core.io. ByteArrayResource
-
This implementation returns a ByteArrayInputStream for the underlying byte array.
- getInputStream() - Method in class org.springframework.core.io. ClassPathResource
-
This implementation opens an InputStream for the given class path resource.
- getInputStream() - Method in class org.springframework.core.io. DescriptiveResource
- getInputStream() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation opens a FileInputStream for the underlying file.
- getInputStream() - Method in class org.springframework.core.io. InputStreamResource
-
This implementation throws IllegalStateException if attempting to read the underlying stream multiple times.
- getInputStream() - Method in interface org.springframework.core.io. InputStreamSource
-
Return an
InputStream
. - getInputStream() - Method in class org.springframework.core.io.support. EncodedResource
-
Open an
java.io.InputStream
for the specified resource, typically assuming that there is no specific encoding to use. - getInputStream() - Method in class org.springframework.core.io. UrlResource
-
This implementation opens an InputStream for the given URL.
- getInputStream() - Method in class org.springframework.core.io. VfsResource
- getInterfaceNames() - Method in interface org.springframework.core.type. ClassMetadata
-
Return the names of all interfaces that the underlying class implements, or an empty array if there are none.
- getInterfaceNames() - Method in class org.springframework.core.type. StandardClassMetadata
- getIntrospectedClass() - Method in class org.springframework.core.type. StandardClassMetadata
-
Return the underlying Class.
- getIntrospectedMethod() - Method in class org.springframework.core.type. StandardMethodMetadata
-
Return the underlying Method.
- getJarFile(String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Resolve the given jar file URL into a JarFile object.
- getJavaVersion() - Static method in class org.springframework.core. JdkVersion
-
Return the full Java version string, as returned by
System.getProperty("java.version")
. - getKey() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Entry
- getLabel() - Method in class org.springframework.core.enums. AbstractGenericLabeledEnum
-
Deprecated.
- getLabel() - Method in interface org.springframework.core.enums. LabeledEnum
-
Deprecated.Return a descriptive, optional label.
- getLabel() - Method in class org.springframework.core.enums. StaticLabeledEnum
-
Deprecated.
- getLabeledEnumByCode(Class, Comparable) - Method in class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.
- getLabeledEnumByCode(Class, Comparable) - Method in interface org.springframework.core.enums. LabeledEnumResolver
-
Deprecated.Resolve a single
LabeledEnum
by its identifying code. - getLabeledEnumByLabel(Class, String) - Method in class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.
- getLabeledEnumByLabel(Class, String) - Method in interface org.springframework.core.enums. LabeledEnumResolver
-
Deprecated.Resolve a single
LabeledEnum
by its identifying code. - getLabeledEnumMap(Class) - Method in class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.
- getLabeledEnumMap(Class) - Method in interface org.springframework.core.enums. LabeledEnumResolver
-
Deprecated.Return a map of enumerations of a particular type.
- getLabeledEnumSet(Class) - Method in class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.
- getLabeledEnumSet(Class) - Method in interface org.springframework.core.enums. LabeledEnumResolver
-
Deprecated.Return a set of enumerations of a particular type.
- getLastTaskInfo() - Method in class org.springframework.util. StopWatch
-
Return the last task as a TaskInfo object.
- getLastTaskName() - Method in class org.springframework.util. StopWatch
-
Return the name of the last task.
- getLastTaskTimeMillis() - Method in class org.springframework.util. StopWatch
-
Return the time taken by the last task.
- getLetterCode() - Method in class org.springframework.core.enums. LetterCodedLabeledEnum
-
Deprecated.Return the letter code of this LabeledEnum instance.
- getLoadFactor() - Method in class org.springframework.util. ConcurrentReferenceHashMap
- getMajorJavaVersion() - Static method in class org.springframework.core. JdkVersion
-
Get the major version code.
- getMapKeyFieldType(Field) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map field.
- getMapKeyFieldType(Field, int) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map field.
- getMapKeyFieldType(Field, int, Map<Integer, Integer>) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map field.
- getMapKeyParameterType(MethodParameter) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map parameter.
- getMapKeyReturnType(Method) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map return type.
- getMapKeyReturnType(Method, int) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map return type.
- getMapKeyType() - Method in class org.springframework.core.convert. TypeDescriptor
-
Deprecated.in Spring 3.1 in favor of
TypeDescriptor.getMapKeyTypeDescriptor()
- getMapKeyType(Class<? extends Map>) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic key type of the given Map class (if it declares one through a generic superclass or generic interface).
- getMapKeyTypeDescriptor() - Method in class org.springframework.core.convert. TypeDescriptor
-
If this type is a
Map
and its key type is parameterized, returns the map's key type. - getMapKeyTypeDescriptor(Object) - Method in class org.springframework.core.convert. TypeDescriptor
-
If this type is a
Map
, creates a mapKeyTypeDescriptor
from the provided map key. - getMapValueFieldType(Field) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map field.
- getMapValueFieldType(Field, int) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map field.
- getMapValueFieldType(Field, int, Map<Integer, Integer>) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map field.
- getMapValueParameterType(MethodParameter) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map parameter.
- getMapValueReturnType(Method) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map return type.
- getMapValueReturnType(Method, int) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map return type.
- getMapValueType() - Method in class org.springframework.core.convert. TypeDescriptor
-
Deprecated.in Spring 3.1 in favor of
TypeDescriptor.getMapValueTypeDescriptor()
- getMapValueType(Class<? extends Map>) - Static method in class org.springframework.core. GenericCollectionTypeResolver
-
Determine the generic value type of the given Map class (if it declares one through a generic superclass or generic interface).
- getMapValueTypeDescriptor() - Method in class org.springframework.core.convert. TypeDescriptor
-
If this type is a
Map
and its value type is parameterized, returns the map's value type. - getMapValueTypeDescriptor(Object) - Method in class org.springframework.core.convert. TypeDescriptor
-
If this type is a
Map
, creates a mapValueTypeDescriptor
from the provided map value. - getMemberClassNames() - Method in interface org.springframework.core.type. ClassMetadata
-
Return the names of all classes declared as members of the class represented by this ClassMetadata object.
- getMemberClassNames() - Method in class org.springframework.core.type. StandardClassMetadata
- getMessage() - Method in exception org.springframework.core.env. MissingRequiredPropertiesException
- getMessage() - Method in exception org.springframework.core. NestedCheckedException
-
Return the detail message, including the message from the nested exception if there is one.
- getMessage() - Method in exception org.springframework.core. NestedIOException
-
Return the detail message, including the message from the nested exception if there is one.
- getMessage() - Method in exception org.springframework.core. NestedRuntimeException
-
Return the detail message, including the message from the nested exception if there is one.
- getMetaAnnotationTypes(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Return the names of all meta-annotation types defined on the given annotation type of the underlying class.
- getMetaAnnotationTypes(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- getMetadataReader(Resource) - Method in class org.springframework.core.type.classreading. CachingMetadataReaderFactory
- getMetadataReader(String) - Method in interface org.springframework.core.type.classreading. MetadataReaderFactory
-
Obtain a MetadataReader for the given class name.
- getMetadataReader(Resource) - Method in interface org.springframework.core.type.classreading. MetadataReaderFactory
-
Obtain a MetadataReader for the given resource.
- getMetadataReader(String) - Method in class org.springframework.core.type.classreading. SimpleMetadataReaderFactory
- getMetadataReader(Resource) - Method in class org.springframework.core.type.classreading. SimpleMetadataReaderFactory
- getMethod() - Method in class org.springframework.core. MethodParameter
-
Return the wrapped Method, if any.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.util. ClassUtils
-
Determine whether the given class has a public method with the given signature, and return it if available (else throws an
IllegalStateException
). - getMethodAnnotation(Class<T>) - Method in class org.springframework.core. MethodParameter
-
Return the method/constructor annotation of the given type, if available.
- getMethodAnnotations() - Method in class org.springframework.core. MethodParameter
-
Return the annotations associated with the target method/constructor itself.
- getMethodCountForName(Class<?>, String) - Static method in class org.springframework.util. ClassUtils
-
Return the number of methods with a given name (with any argument types), for the given class and/or its superclasses.
- getMethodIfAvailable(Class<?>, String, Class<?>...) - Static method in class org.springframework.util. ClassUtils
-
Determine whether the given class has a public method with the given signature, and return it if available (else return
null
). - getMethodName() - Method in interface org.springframework.core.type. MethodMetadata
-
Return the name of the method.
- getMethodName() - Method in class org.springframework.core.type. StandardMethodMetadata
- getMissingRequiredProperties() - Method in exception org.springframework.core.env. MissingRequiredPropertiesException
-
Return the set of properties marked as required but not present upon validation.
- getMostSpecificCause() - Method in exception org.springframework.core. NestedCheckedException
-
Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself.
- getMostSpecificCause() - Method in exception org.springframework.core. NestedRuntimeException
-
Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself.
- getMostSpecificMethod(Method, Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Given a method, which may come from an interface, and a target class used in the current reflective invocation, find the corresponding target method if there is one.
- getName() - Method in class org.springframework.core.convert. Property
-
The name of the property: e.g.
- getName() - Method in class org.springframework.core.convert. TypeDescriptor
-
Returns the name of this type: the fully qualified class name.
- getName() - Method in class org.springframework.core.env. PropertySource
-
Return the name of this
PropertySource
- getNames(String) - Method in class org.springframework.core. Constants
-
Return all names of the given group of constants.
- getNamesForProperty(String) - Method in class org.springframework.core. Constants
-
Return all names of the group of constants for the given bean property name.
- getNamesForSuffix(String) - Method in class org.springframework.core. Constants
-
Return all names of the given group of constants.
- getNamespaceURI(String) - Method in class org.springframework.util.xml. SimpleNamespaceContext
- getNestedParameterType() - Method in class org.springframework.core. MethodParameter
- getNestingLevel() - Method in class org.springframework.core. MethodParameter
-
Return the nesting level of the target type (typically 1; e.g.
- getNext() - Method in interface org.springframework.util. ConcurrentReferenceHashMap.Reference
-
Returns the next reference in the chain or
null
- getNonOptionArgs() - Method in class org.springframework.core.env. CommandLinePropertySource
-
Return the collection of non-option arguments parsed from the command line.
- getNonOptionArgs() - Method in class org.springframework.core.env. JOptCommandLinePropertySource
- getNonOptionArgs() - Method in class org.springframework.core.env. SimpleCommandLinePropertySource
- getNumber(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getObjectType() - Method in class org.springframework.core.convert. Property
-
The object declaring this property, either directly or in a superclass the object extends.
- getObjectType() - Method in class org.springframework.core.convert. TypeDescriptor
-
Variation of
TypeDescriptor.getType()
that accounts for a primitive type by returning its object wrapper type. - getOptionValues(String) - Method in class org.springframework.core.env. CommandLinePropertySource
-
Return the collection of values associated with the command line option having the given name.
- getOptionValues(String) - Method in class org.springframework.core.env. JOptCommandLinePropertySource
- getOptionValues(String) - Method in class org.springframework.core.env. SimpleCommandLinePropertySource
- getOrder(Object) - Method in class org.springframework.core.annotation. AnnotationAwareOrderComparator
- getOrder(Object) - Method in class org.springframework.core. OrderComparator
-
Determine the order value for the given object.
- getOrder() - Method in interface org.springframework.core. Ordered
-
Return the order value of this object, with a higher value meaning greater in terms of sorting.
- getOutputStream() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation opens a FileOutputStream for the underlying file.
- getOutputStream() - Method in interface org.springframework.core.io. WritableResource
-
Return an
OutputStream
for the underlying resource, allowing to (over-)write its content. - getPackageName(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Determine the name of the package of the given class, e.g.
- getPackageName(String) - Static method in class org.springframework.util. ClassUtils
-
Determine the name of the package of the given fully-qualified class name, e.g.
- getParameterAnnotation(Class<T>) - Method in class org.springframework.core. MethodParameter
-
Return the parameter annotation of the given type, if available.
- getParameterAnnotations() - Method in class org.springframework.core. MethodParameter
-
Return the annotations associated with the specific method/constructor parameter.
- getParameterIndex() - Method in class org.springframework.core. MethodParameter
-
Return the index of the method/constructor parameter.
- getParameterName() - Method in class org.springframework.core. MethodParameter
-
Return the name of the method/constructor parameter.
- getParameterNames(Method) - Method in class org.springframework.core. LocalVariableTableParameterNameDiscoverer
- getParameterNames(Constructor<?>) - Method in class org.springframework.core. LocalVariableTableParameterNameDiscoverer
- getParameterNames(Method) - Method in interface org.springframework.core. ParameterNameDiscoverer
-
Return parameter names for this method, or
null
if they cannot be determined. - getParameterNames(Constructor<?>) - Method in interface org.springframework.core. ParameterNameDiscoverer
-
Return parameter names for this constructor, or
null
if they cannot be determined. - getParameterNames(Method) - Method in class org.springframework.core. PrioritizedParameterNameDiscoverer
- getParameterNames(Constructor) - Method in class org.springframework.core. PrioritizedParameterNameDiscoverer
- getParameterType() - Method in class org.springframework.core. MethodParameter
-
Return the type of the method/constructor parameter.
- getPath() - Method in class org.springframework.core.io. ClassPathResource
-
Return the path for this resource (as resource path within the class path).
- getPath() - Method in class org.springframework.core.io. FileSystemResource
-
Return the file path for this resource.
- getPathMatcher() - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Return the PathMatcher that this resource pattern resolver uses.
- getPathWithinContext() - Method in interface org.springframework.core.io. ContextResource
-
Return the path within the enclosing 'context'.
- getPatternComparator(String) - Method in class org.springframework.util. AntPathMatcher
-
Given a full path, returns a
Comparator
suitable for sorting patterns in order of explicitness. - getPatternComparator(String) - Method in interface org.springframework.util. PathMatcher
-
Given a full path, returns a
Comparator
suitable for sorting patterns in order of explicitness for that path. - getPrefix(String) - Method in class org.springframework.util.xml. SimpleNamespaceContext
- getPrefixes(String) - Method in class org.springframework.util.xml. SimpleNamespaceContext
- getPreparedMethod() - Method in class org.springframework.util. MethodInvoker
-
Return the prepared Method object that will be invoked.
- getProperty(String) - Method in class org.springframework.core.env. AbstractEnvironment
- getProperty(String, String) - Method in class org.springframework.core.env. AbstractEnvironment
- getProperty(String, Class<T>) - Method in class org.springframework.core.env. AbstractEnvironment
- getProperty(String, Class<T>, T) - Method in class org.springframework.core.env. AbstractEnvironment
- getProperty(String, String) - Method in class org.springframework.core.env. AbstractPropertyResolver
- getProperty(String, Class<T>, T) - Method in class org.springframework.core.env. AbstractPropertyResolver
- getProperty(String) - Method in class org.springframework.core.env. CommandLinePropertySource
-
Return the value associated with the given name, or
null
if not found. - getProperty(String) - Method in class org.springframework.core.env. CompositePropertySource
- getProperty(String) - Method in class org.springframework.core.env. MapPropertySource
- getProperty(String) - Method in interface org.springframework.core.env. PropertyResolver
-
Return the property value associated with the given key, or
null
if the key cannot be resolved. - getProperty(String, String) - Method in interface org.springframework.core.env. PropertyResolver
-
Return the property value associated with the given key, or
defaultValue
if the key cannot be resolved. - getProperty(String, Class<T>) - Method in interface org.springframework.core.env. PropertyResolver
-
Return the property value associated with the given key, or
null
if the key cannot be resolved. - getProperty(String, Class<T>, T) - Method in interface org.springframework.core.env. PropertyResolver
-
Return the property value associated with the given key, or
defaultValue
if the key cannot be resolved. - getProperty(String) - Method in class org.springframework.core.env. PropertySource
-
Return the value associated with the given name, or
null
if not found. - getProperty(String) - Method in class org.springframework.core.env. PropertySource.StubPropertySource
-
Always returns
null
. - getProperty(String) - Method in class org.springframework.core.env. PropertySourcesPropertyResolver
- getProperty(String, Class<T>) - Method in class org.springframework.core.env. PropertySourcesPropertyResolver
- getProperty(String, Class<T>, boolean) - Method in class org.springframework.core.env. PropertySourcesPropertyResolver
- getProperty(String) - Method in class org.springframework.core.env. SystemEnvironmentPropertySource
-
Return the value associated with the given name, or
null
if not found. - getProperty(String) - Static method in class org.springframework.core. SpringProperties
-
Retrieve the property value for the given key, checking local Spring properties first and falling back to JVM-level system properties.
- getPropertyAsClass(String, Class<T>) - Method in class org.springframework.core.env. AbstractEnvironment
- getPropertyAsClass(String, Class<T>) - Method in interface org.springframework.core.env. PropertyResolver
-
Convert the property value associated with the given key to a
Class
of typeT
ornull
if the key cannot be resolved. - getPropertyAsClass(String, Class<T>) - Method in class org.springframework.core.env. PropertySourcesPropertyResolver
- getPropertyAsRawString(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
-
Retrieve the specified property as a raw String, i.e.
- getPropertyAsRawString(String) - Method in class org.springframework.core.env. PropertySourcesPropertyResolver
- getPropertyNames() - Method in class org.springframework.core.env. EnumerablePropertySource
-
Return the names of all properties contained by the source object (never
null
). - getPropertyNames() - Method in class org.springframework.core.env. MapPropertySource
- getPropertySources() - Method in class org.springframework.core.env. AbstractEnvironment
- getPropertySources() - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Return the
PropertySources
for thisEnvironment
in mutable form, allowing for manipulation of the set ofPropertySource
objects that should be searched when resolving properties against thisEnvironment
object. - getQualifiedAttributeName(Class, String) - Static method in class org.springframework.core. Conventions
-
Return an attribute name qualified by the supplied enclosing
Class
. - getQualifiedMethodName(Method) - Static method in class org.springframework.util. ClassUtils
-
Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.
- getQualifiedName(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Return the qualified name of the given class: usually simply the class name, but component type class name + "[]" for arrays.
- getReader() - Method in class org.springframework.core.io.support. EncodedResource
-
Open a
java.io.Reader
for the specified resource, using the specified encoding (if any). - getReadMethod() - Method in class org.springframework.core.convert. Property
-
The property getter method: e.g.
- getReference(Object, ConcurrentReferenceHashMap.Restructure) - Method in class org.springframework.util. ConcurrentReferenceHashMap
-
Return a
ConcurrentReferenceHashMap.Reference
to theConcurrentReferenceHashMap.Entry
for the specifiedkey
, ornull
if not found. - getReference(Object, int, ConcurrentReferenceHashMap.Restructure) - Method in class org.springframework.util. ConcurrentReferenceHashMap.Segment
- getRequiredProperty(String) - Method in class org.springframework.core.env. AbstractEnvironment
- getRequiredProperty(String, Class<T>) - Method in class org.springframework.core.env. AbstractEnvironment
- getRequiredProperty(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
- getRequiredProperty(String, Class<T>) - Method in class org.springframework.core.env. AbstractPropertyResolver
- getRequiredProperty(String) - Method in interface org.springframework.core.env. PropertyResolver
-
Return the property value associated with the given key, converted to the given targetType (never
null
). - getRequiredProperty(String, Class<T>) - Method in interface org.springframework.core.env. PropertyResolver
-
Return the property value associated with the given key, converted to the given targetType (never
null
). - getReservedDefaultProfiles() - Method in class org.springframework.core.env. AbstractEnvironment
-
Return the set of reserved default profile names.
- getResource(String) - Method in class org.springframework.core.io. DefaultResourceLoader
- getResource(String) - Method in interface org.springframework.core.io. ResourceLoader
-
Return a Resource handle for the specified resource.
- getResource() - Method in class org.springframework.core.io.support. EncodedResource
-
Return the Resource held.
- getResource(String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
- getResource() - Method in interface org.springframework.core.type.classreading. MetadataReader
-
Return the resource reference for the class file.
- getResourceByPath(String) - Method in class org.springframework.core.io. ClassRelativeResourceLoader
- getResourceByPath(String) - Method in class org.springframework.core.io. DefaultResourceLoader
-
Return a Resource handle for the resource at the given path.
- getResourceByPath(String) - Method in class org.springframework.core.io. FileSystemResourceLoader
-
Resolve resource paths as file system paths.
- getResourceLoader() - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Return the ResourceLoader that this pattern resolver works with.
- getResourceLoader() - Method in class org.springframework.core.type.classreading. SimpleMetadataReaderFactory
-
Return the ResourceLoader that this MetadataReaderFactory has been constructed with.
- getResourcePatternResolver(ResourceLoader) - Static method in class org.springframework.core.io.support. ResourcePatternUtils
-
Return a default ResourcePatternResolver for the given ResourceLoader.
- getResources(String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
- getResources(String) - Method in interface org.springframework.core.io.support. ResourcePatternResolver
-
Resolve the given location pattern into Resource objects.
- getRoot(URL) - Static method in class org.springframework.core.io. VfsUtils
- getRootCause() - Method in exception org.springframework.core. NestedCheckedException
-
Retrieve the innermost cause of this exception, if any.
- getRootCause() - Method in exception org.springframework.core. NestedRuntimeException
-
Retrieve the innermost cause of this exception, if any.
- getSegment(int) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- getSegmentsSize() - Method in class org.springframework.util. ConcurrentReferenceHashMap
- getShortCode() - Method in class org.springframework.core.enums. ShortCodedLabeledEnum
-
Deprecated.Return the short code of this LabeledEnum instance.
- getShortName(String) - Static method in class org.springframework.util. ClassUtils
-
Get the class name without the qualified package name.
- getShortName(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Get the class name without the qualified package name.
- getShortNameAsProperty(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Return the short string name of a Java class in uncapitalized JavaBeans property format.
- getSize() - Method in class org.springframework.core. Constants
-
Return the number of constants exposed.
- getSize() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Segment
- getSource() - Method in class org.springframework.core.env. PropertySource
-
Return the underlying source object for this
PropertySource
. - getSourceType() - Method in exception org.springframework.core.convert. ConversionFailedException
-
Return the source type we tried to convert the value from.
- getSourceType() - Method in class org.springframework.core.convert.converter. GenericConverter.ConvertiblePair
- getSourceType() - Method in exception org.springframework.core.convert. ConverterNotFoundException
-
Returns the source type that was requested to convert from.
- getStaticMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.util. ClassUtils
-
Return a public static method of a class.
- getString(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getStringArray(String) - Method in class org.springframework.core.annotation. AnnotationAttributes
- getStringCode() - Method in class org.springframework.core.enums. StringCodedLabeledEnum
-
Deprecated.Return the String code of this LabeledEnum instance.
- getSuperClassName() - Method in interface org.springframework.core.type. ClassMetadata
-
Return the name of the super class of the underlying class, or
null
if there is no super class defined. - getSuperClassName() - Method in class org.springframework.core.type. StandardClassMetadata
- getSystemEnvironment() - Method in class org.springframework.core.env. AbstractEnvironment
- getSystemEnvironment() - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Return the value of
System.getenv()
if allowed by the currentSecurityManager
, otherwise return a map implementation that will attempt to access individual keys using calls toSystem.getenv(String)
. - getSystemProperties() - Method in class org.springframework.core.env. AbstractEnvironment
- getSystemProperties() - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Return the value of
System.getProperties()
if allowed by the currentSecurityManager
, otherwise return a map implementation that will attempt to access individual keys using calls toSystem.getProperty(String)
. - getTag() - Method in class org.springframework.cglib.core. SpringNamingPolicy
- getTargetClass() - Method in class org.springframework.util. MethodInvoker
-
Return the target class on which to call the target method.
- getTargetMethod() - Method in class org.springframework.util. MethodInvoker
-
Return the name of the method to be invoked.
- getTargetObject() - Method in class org.springframework.util. MethodInvoker
-
Return the target object on which to call the target method.
- getTargetType() - Method in exception org.springframework.core.convert. ConversionFailedException
-
Return the target type we tried to convert the value to.
- getTargetType() - Method in class org.springframework.core.convert.converter. GenericConverter.ConvertiblePair
- getTargetType() - Method in exception org.springframework.core.convert. ConverterNotFoundException
-
Returns the target type that was requested to convert to.
- getTargetType(MethodParameter) - Static method in class org.springframework.core. GenericTypeResolver
-
Determine the target type for the given parameter specification.
- getTaskCount() - Method in class org.springframework.util. StopWatch
-
Return the number of tasks timed.
- getTaskInfo() - Method in class org.springframework.util. StopWatch
-
Return an array of the data for tasks performed.
- getTaskName() - Method in class org.springframework.util. StopWatch.TaskInfo
-
Return the name of this task.
- getTextValue(Element) - Static method in class org.springframework.util.xml. DomUtils
-
Extracts the text value from the given DOM element, ignoring XML comments.
- getThreadFactory() - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Return the external factory to use for creating new Threads, if any.
- getThreadGroup() - Method in class org.springframework.util. CustomizableThreadCreator
-
Return the thread group that threads should be created in (or
null
for the default group). - getThreadNamePrefix() - Method in class org.springframework.util. CustomizableThreadCreator
-
Return the thread name prefix to use for the names of newly created threads.
- getThreadPriority() - Method in class org.springframework.util. CustomizableThreadCreator
-
Return the priority of the threads that this factory creates.
- getTimeMillis() - Method in class org.springframework.util. StopWatch.TaskInfo
-
Return the time in milliseconds this task took.
- getTimeSeconds() - Method in class org.springframework.util. StopWatch.TaskInfo
-
Return the time in seconds this task took.
- getTotalTimeMillis() - Method in class org.springframework.util. StopWatch
-
Return the total time in milliseconds for all tasks.
- getTotalTimeSeconds() - Method in class org.springframework.util. StopWatch
-
Return the total time in seconds for all tasks.
- getType() - Method in class org.springframework.core.convert. Property
-
The property type: e.g.
- getType() - Method in class org.springframework.core.convert. TypeDescriptor
-
The type of the backing class, method parameter, field, or property described by this TypeDescriptor.
- getType() - Method in class org.springframework.core.enums. AbstractLabeledEnum
-
Deprecated.
- getType() - Method in interface org.springframework.core.enums. LabeledEnum
-
Deprecated.Return this enumeration's type.
- getType() - Method in class org.springframework.core. ParameterizedTypeReference
- getTypeDifferenceWeight(Class<?>[], Object[]) - Static method in class org.springframework.util. MethodInvoker
-
Algorithm that judges the match between the declared parameter types of a candidate method and a specific list of arguments that this method is supposed to be invoked with.
- getTypeIndexForCurrentLevel() - Method in class org.springframework.core. MethodParameter
-
Return the type index for the current nesting level.
- getTypeIndexForLevel(int) - Method in class org.springframework.core. MethodParameter
-
Return the type index for the specified nesting level.
- getTypeVariableMap(Class<?>) - Static method in class org.springframework.core. GenericTypeResolver
- getUniqueDeclaredMethods(Class<?>) - Static method in class org.springframework.util. ReflectionUtils
-
Get the unique set of declared methods on the leaf class and all superclasses.
- getURI() - Method in class org.springframework.core.io. AbstractResource
-
This implementation builds a URI based on the URL returned by
AbstractResource.getURL()
. - getURI() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns a URI for the underlying file.
- getURI() - Method in interface org.springframework.core.io. Resource
-
Return a URI handle for this resource.
- getURI() - Method in class org.springframework.core.io. UrlResource
-
This implementation returns the underlying URI directly, if possible.
- getURI() - Method in class org.springframework.core.io. VfsResource
- getURL() - Method in class org.springframework.core.io. AbstractResource
-
This implementation throws a FileNotFoundException, assuming that the resource cannot be resolved to a URL.
- getURL() - Method in class org.springframework.core.io. ClassPathResource
-
This implementation returns a URL for the underlying class path resource, if available.
- getURL() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns a URL for the underlying file.
- getURL() - Method in interface org.springframework.core.io. Resource
-
Return a URL handle for this resource.
- getURL() - Method in class org.springframework.core.io. UrlResource
-
This implementation returns the underlying URL reference.
- getURL() - Method in class org.springframework.core.io. VfsResource
- getURL(String) - Static method in class org.springframework.util. ResourceUtils
-
Resolve the given resource location to a
java.net.URL
. - getUserClass(Object) - Static method in class org.springframework.util. ClassUtils
-
Return the user-defined class for the given instance: usually simply the class of the given instance, but the original class in case of a CGLIB-generated subclass.
- getUserClass(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Return the user-defined class for the given class: usually simply the given class, but the original class in case of a CGLIB-generated subclass.
- getValue(Annotation) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the value of the
"value"
attribute of a single-element Annotation, given an annotation instance. - getValue(Annotation, String) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Retrieve the value of a named Annotation attribute, given an annotation instance.
- getValue() - Method in exception org.springframework.core.convert. ConversionFailedException
-
Return the offending value.
- getValue() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Entry
- getValues(String) - Method in class org.springframework.core. Constants
-
Return all values of the given group of constants.
- getValuesForProperty(String) - Method in class org.springframework.core. Constants
-
Return all values of the group of constants for the given bean property name.
- getValuesForSuffix(String) - Method in class org.springframework.core. Constants
-
Return all values of the given group of constants.
- getValueStyler() - Method in class org.springframework.core.style. DefaultToStringStyler
-
Return the ValueStyler used by this ToStringStyler.
- getVariableName(Object) - Static method in class org.springframework.core. Conventions
-
Determine the conventional variable name for the supplied
Object
based on its concrete type. - getVariableNameForParameter(MethodParameter) - Static method in class org.springframework.core. Conventions
-
Determine the conventional variable name for the supplied parameter, taking the generic collection type (if any) into account.
- getVariableNameForReturnType(Method) - Static method in class org.springframework.core. Conventions
-
Determine the conventional variable name for the return type of the supplied method, taking the generic collection type (if any) into account.
- getVariableNameForReturnType(Method, Object) - Static method in class org.springframework.core. Conventions
-
Determine the conventional variable name for the return type of the supplied method, taking the generic collection type (if any) into account, falling back to the given return value if the method declaration is not specific enough (i.e.
- getVariableNameForReturnType(Method, Class, Object) - Static method in class org.springframework.core. Conventions
-
Determine the conventional variable name for the return type of the supplied method, taking the generic collection type (if any) into account, falling back to the given return value if the method declaration is not specific enough (i.e.
- getVersion() - Static method in class org.springframework.core. SpringVersion
-
Return the full version string of the present Spring codebase, or
null
if it cannot be determined. - getWrappedObject() - Method in interface org.springframework.core. InfrastructureProxy
-
Return the underlying resource (never
null
). - getWriteMethod() - Method in class org.springframework.core.convert. Property
-
The property setter method: e.g.
- getXMLEventReader(Source) - Static method in class org.springframework.util.xml. StaxUtils
-
Return the
XMLEventReader
for the given StAX Source. - getXMLEventWriter(Result) - Static method in class org.springframework.util.xml. StaxUtils
-
Return the
XMLEventWriter
for the given StAX Result. - getXMLStreamReader(Source) - Static method in class org.springframework.util.xml. StaxUtils
-
Return the
XMLStreamReader
for the given StAX Source. - getXMLStreamWriter(Result) - Static method in class org.springframework.util.xml. StaxUtils
-
Return the
XMLStreamWriter
for the given StAX Result.
H
- handleError(Throwable) - Method in interface org.springframework.util. ErrorHandler
-
Handle the given error, possibly rethrowing it as a fatal exception.
- handleInvocationTargetException(InvocationTargetException) - Static method in class org.springframework.util. ReflectionUtils
-
Handle the given invocation target exception.
- handleReflectionException(Exception) - Static method in class org.springframework.util. ReflectionUtils
-
Handle the given reflection exception.
- hasAnnotatedMethods(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Determine whether the underlying class has any methods that are annotated (or meta-annotated) with the given annotation type.
- hasAnnotatedMethods(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- hasAnnotation(Class<? extends Annotation>) - Method in class org.springframework.core.convert. TypeDescriptor
-
Determine if this type descriptor has the specified annotation.
- hasAnnotation(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Determine whether the underlying class has an annotation of the given type defined.
- hasAnnotation(String) - Method in class org.springframework.core.type.filter. AnnotationTypeFilter
- hasAnnotation(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- hasAtLeastOneMethodWithName(Class<?>, String) - Static method in class org.springframework.util. ClassUtils
-
Does the given class or one of its superclasses at least have one or more methods with the supplied name (with any argument types)? Includes non-public methods.
- hasAttribute(String) - Method in interface org.springframework.core. AttributeAccessor
-
Return
true
if the attribute identified byname
exists. - hasAttribute(String) - Method in class org.springframework.core. AttributeAccessorSupport
- hasConstructor(Class<?>, Class<?>...) - Static method in class org.springframework.util. ClassUtils
-
Determine whether the given class has a public constructor with the given signature.
- hasEnclosingClass() - Method in interface org.springframework.core.type. ClassMetadata
-
Return whether the underlying class has an enclosing class (i.e.
- hasEnclosingClass() - Method in class org.springframework.core.type. StandardClassMetadata
- hashCode() - Method in class org.springframework.core. AttributeAccessorSupport
- hashCode() - Method in class org.springframework.core.convert.converter. GenericConverter.ConvertiblePair
- hashCode() - Method in class org.springframework.core.convert. Property
- hashCode() - Method in class org.springframework.core.convert. TypeDescriptor
- hashCode() - Method in class org.springframework.core.enums. AbstractLabeledEnum
-
Deprecated.
- hashCode() - Method in class org.springframework.core.env. PropertySource
-
Return a hash code derived from the
name
property of thisPropertySource
object. - hashCode() - Method in class org.springframework.core.io. AbstractResource
-
This implementation returns the description's hash code.
- hashCode() - Method in class org.springframework.core.io. ByteArrayResource
-
This implementation returns the hash code based on the underlying byte array.
- hashCode() - Method in class org.springframework.core.io. ClassPathResource
-
This implementation returns the hash code of the underlying class path location.
- hashCode() - Method in class org.springframework.core.io. DescriptiveResource
-
This implementation returns the hash code of the underlying description String.
- hashCode() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation returns the hash code of the underlying File reference.
- hashCode() - Method in class org.springframework.core.io. InputStreamResource
-
This implementation returns the hash code of the underlying InputStream.
- hashCode() - Method in class org.springframework.core.io.support. EncodedResource
- hashCode() - Method in class org.springframework.core.io. UrlResource
-
This implementation returns the hash code of the underlying URL reference.
- hashCode() - Method in class org.springframework.core.io. VfsResource
- hashCode() - Method in class org.springframework.core. MethodParameter
- hashCode() - Method in class org.springframework.core. ParameterizedTypeReference
- hashCode() - Method in class org.springframework.util. AutoPopulatingList
- hashCode() - Method in class org.springframework.util.comparator. BooleanComparator
- hashCode() - Method in class org.springframework.util.comparator. CompoundComparator
- hashCode() - Method in class org.springframework.util.comparator. InvertibleComparator
- hashCode() - Method in class org.springframework.util.comparator. NullSafeComparator
- hashCode() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Entry
- hashCode() - Method in class org.springframework.util. LinkedMultiValueMap
- hashCode(boolean) - Static method in class org.springframework.util. ObjectUtils
-
Return the same value as
Boolean.hashCode()
}. - hashCode(double) - Static method in class org.springframework.util. ObjectUtils
-
Return the same value as
Double.hashCode()
}. - hashCode(float) - Static method in class org.springframework.util. ObjectUtils
-
Return the same value as
Float.hashCode()
}. - hashCode(long) - Static method in class org.springframework.util. ObjectUtils
-
Return the same value as
Long.hashCode()
}. - hasLength(String, String) - Static method in class org.springframework.util. Assert
-
Assert that the given String is not empty; that is, it must not be
null
and not the empty String. - hasLength(String) - Static method in class org.springframework.util. Assert
-
Assert that the given String is not empty; that is, it must not be
null
and not the empty String. - hasLength(CharSequence) - Static method in class org.springframework.util. StringUtils
-
Check that the given CharSequence is neither
null
nor of length 0. - hasLength(String) - Static method in class org.springframework.util. StringUtils
-
Check that the given String is neither
null
nor of length 0. - hasMetaAnnotation(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Determine whether the underlying class has an annotation that is itself annotated with the meta-annotation of the given type.
- hasMetaAnnotation(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- hasMethod(Class<?>, String, Class<?>...) - Static method in class org.springframework.util. ClassUtils
-
Determine whether the given class has a public method with the given signature.
- hasNext() - Method in class org.springframework.util. CompositeIterator
- hasParameterAnnotation(Class<T>) - Method in class org.springframework.core. MethodParameter
-
Return true if the parameter has the given annotation type, and false if it doesn't.
- hasParameterAnnotations() - Method in class org.springframework.core. MethodParameter
-
Return true if the parameter has at least one annotation, false if it has none.
- hasSuperClass() - Method in interface org.springframework.core.type. ClassMetadata
-
Return whether the underlying class has a super class.
- hasSuperClass() - Method in class org.springframework.core.type. StandardClassMetadata
- hasText(String, String) - Static method in class org.springframework.util. Assert
-
Assert that the given String has valid text content; that is, it must not be
null
and must contain at least one non-whitespace character. - hasText(String) - Static method in class org.springframework.util. Assert
-
Assert that the given String has valid text content; that is, it must not be
null
and must contain at least one non-whitespace character. - hasText(CharSequence) - Static method in class org.springframework.util. StringUtils
-
Check whether the given CharSequence has actual text.
- hasText(String) - Static method in class org.springframework.util. StringUtils
-
Check whether the given String has actual text.
- hasUniqueObject(Collection) - Static method in class org.springframework.util. CollectionUtils
-
Determine whether the given Collection only contains a single unique object.
- HIGHEST_PRECEDENCE - Static variable in interface org.springframework.core. Ordered
-
Useful constant for the highest precedence value.
I
- identityToString(Object) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of an object's overall identity.
- IGNORE_GETENV_PROPERTY_NAME - Static variable in class org.springframework.core.env. AbstractEnvironment
-
System property that instructs Spring to ignore system environment variables, i.e.
- increaseNestingLevel() - Method in class org.springframework.core. MethodParameter
-
Increase this parameter's nesting level.
- indexOf(Object) - Method in class org.springframework.util. AutoPopulatingList
- InfrastructureProxy - Interface in org.springframework.core
-
Interface to be implemented by transparent resource proxies that need to be considered as equal to the underlying resource, for example for consistent lookup key comparisons.
- initLogging(String) - Static method in class org.springframework.util. Log4jConfigurer
-
Initialize log4j from the given file location, with no config file refreshing.
- initLogging(String, long) - Static method in class org.springframework.util. Log4jConfigurer
-
Initialize log4j from the given location, with the given refresh interval for the config file.
- initParameterNameDiscovery(ParameterNameDiscoverer) - Method in class org.springframework.core. MethodParameter
-
Initialize parameter name discovery for this method parameter.
- InputStreamResource - Class in org.springframework.core.io
-
Resource
implementation for a given InputStream. - InputStreamResource(InputStream) - Constructor for class org.springframework.core.io. InputStreamResource
-
Create a new InputStreamResource.
- InputStreamResource(InputStream, String) - Constructor for class org.springframework.core.io. InputStreamResource
-
Create a new InputStreamResource.
- InputStreamSource - Interface in org.springframework.core.io
-
Simple interface for objects that are sources for an
InputStream
. - INSTANCE - Static variable in class org.springframework.cglib.core. SpringNamingPolicy
- INSTANCE - Static variable in class org.springframework.core.annotation. AnnotationAwareOrderComparator
-
Shared default instance of AnnotationAwareOrderComparator.
- instance() - Static method in class org.springframework.core.enums. StaticLabeledEnumResolver
-
Deprecated.Return the shared
StaticLabeledEnumResolver
singleton instance. - INSTANCE - Static variable in class org.springframework.core. OrderComparator
-
Shared default instance of OrderComparator.
- INSTANCE - Static variable in class org.springframework.util.comparator. ComparableComparator
- InstanceComparator< T> - Class in org.springframework.util.comparator
-
Compares objects based on an arbitrary class order.
- InstanceComparator(Class<?>...) - Constructor for class org.springframework.util.comparator. InstanceComparator
-
Create a new
InstanceComparator
instance. - InvertibleComparator< T> - Class in org.springframework.util.comparator
-
A decorator for a comparator, with an "ascending" flag denoting whether comparison results should be treated in forward (standard ascending) order or flipped for reverse (descending) order.
- InvertibleComparator(Comparator<T>) - Constructor for class org.springframework.util.comparator. InvertibleComparator
-
Create an InvertibleComparator that sorts ascending by default.
- InvertibleComparator(Comparator<T>, boolean) - Constructor for class org.springframework.util.comparator. InvertibleComparator
-
Create an InvertibleComparator that sorts based on the provided order.
- invertOrder() - Method in class org.springframework.util.comparator. CompoundComparator
-
Invert the sort order of each sort definition contained by this compound comparator.
- invertOrder(int) - Method in class org.springframework.util.comparator. CompoundComparator
-
Invert the sort order of the sort definition at the specified index.
- invertOrder() - Method in class org.springframework.util.comparator. InvertibleComparator
-
Invert the sort order: ascending -> descending or descending -> ascending.
- invoke() - Method in class org.springframework.util. MethodInvoker
-
Invoke the specified method.
- invokeJdbcMethod(Method, Object) - Static method in class org.springframework.util. ReflectionUtils
-
Invoke the specified JDBC API
Method
against the supplied target object with no arguments. - invokeJdbcMethod(Method, Object, Object...) - Static method in class org.springframework.util. ReflectionUtils
-
Invoke the specified JDBC API
Method
against the supplied target object with the supplied arguments. - invokeMethod(Method, Object) - Static method in class org.springframework.util. ReflectionUtils
-
Invoke the specified
Method
against the supplied target object with no arguments. - invokeMethod(Method, Object, Object...) - Static method in class org.springframework.util. ReflectionUtils
-
Invoke the specified
Method
against the supplied target object with the supplied arguments. - invokeVfsMethod(Method, Object, Object...) - Static method in class org.springframework.core.io. VfsUtils
- isAbstract() - Method in interface org.springframework.core.type. ClassMetadata
-
Return whether the underlying class is marked as abstract.
- isAbstract() - Method in class org.springframework.core.type. StandardClassMetadata
- isAlias(String) - Method in interface org.springframework.core. AliasRegistry
-
Determine whether this given name is defines as an alias (as opposed to the name of an actually registered component).
- isAlias(String) - Method in class org.springframework.core. SimpleAliasRegistry
- isAnnotated(String) - Method in interface org.springframework.core.type. AnnotationMetadata
-
Determine whether the underlying class has an annotation or meta-annotation of the given type defined.
- isAnnotated(String) - Method in interface org.springframework.core.type. MethodMetadata
-
Determine whether the underlying method has an annotation or meta-annotation of the given type defined.
- isAnnotated(String) - Method in class org.springframework.core.type. StandardAnnotationMetadata
- isAnnotated(String) - Method in class org.springframework.core.type. StandardMethodMetadata
- isAnnotationDeclaredLocally(Class<? extends Annotation>, Class<?>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Determine whether an annotation for the specified
annotationType
is declared locally on the suppliedclazz
. - isAnnotationInherited(Class<? extends Annotation>, Class<?>) - Static method in class org.springframework.core.annotation. AnnotationUtils
-
Determine whether an annotation for the specified
annotationType
is present on the suppliedclazz
and is inherited (i.e., not declared locally for the class). - isApproximableCollectionType(Class<?>) - Static method in class org.springframework.core. CollectionFactory
-
Determine whether the given collection type is an approximable type, i.e.
- isApproximableMapType(Class<?>) - Static method in class org.springframework.core. CollectionFactory
-
Determine whether the given map type is an approximable type, i.e.
- isArray() - Method in class org.springframework.core.convert. TypeDescriptor
-
Is this type an array type?
- isArray(Object) - Static method in class org.springframework.util. ObjectUtils
-
Determine whether the given object is an array: either an Object array or a primitive array.
- isAscending() - Method in class org.springframework.util.comparator. InvertibleComparator
-
Return the sort order: ascending (true) or descending (false).
- isAssignable(Class<?>, Class<?>) - Static method in class org.springframework.util. Assert
-
Assert that
superType.isAssignableFrom(subType)
istrue
. - isAssignable(Class<?>, Class<?>, String) - Static method in class org.springframework.util. Assert
-
Assert that
superType.isAssignableFrom(subType)
istrue
. - isAssignable(Class<?>, Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Check if the right-hand side type may be assigned to the left-hand side type, assuming setting by reflection.
- isAssignable(Type, Type) - Static method in class org.springframework.util. TypeUtils
-
Check if the right-hand side type may be assigned to the left-hand side type following the Java generics rules.
- isAssignableBound(Type, Type) - Static method in class org.springframework.util. TypeUtils
- isAssignableTo(TypeDescriptor) - Method in class org.springframework.core.convert. TypeDescriptor
-
Returns true if an object of this type descriptor can be assigned to the location described by the given type descriptor.
- isAssignableValue(Class<?>, Object) - Static method in class org.springframework.util. ClassUtils
-
Determine if the given type is assignable from the given value, assuming setting by reflection.
- isAtLeastJava14() - Static method in class org.springframework.core. JdkVersion
-
Deprecated.as of Spring 3.0 which requires Java 1.5+
- isAtLeastJava15() - Static method in class org.springframework.core. JdkVersion
-
Deprecated.as of Spring 3.0 which requires Java 1.5+
- isAtLeastJava16() - Static method in class org.springframework.core. JdkVersion
-
Deprecated.as of Spring 3.0, in favor of reflective checks for the specific Java 1.6 classes of interest
- isCacheSafe(Class<?>, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Check whether the given class is cache-safe in the given context, i.e.
- isCglibProxy(Object) - Static method in class org.springframework.util. ClassUtils
-
Check whether the given object is a CGLIB proxy.
- isCglibProxyClass(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Check whether the specified class is a CGLIB-generated class.
- isCglibProxyClassName(String) - Static method in class org.springframework.util. ClassUtils
-
Check whether the specified class name is a CGLIB-generated class.
- isCglibRenamedMethod(Method) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given method is a CGLIB 'renamed' method, following the pattern "CGLIB$methodName$0".
- isCheckedException(Throwable) - Static method in class org.springframework.util. ObjectUtils
-
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
- isClassReloadable(Class) - Method in interface org.springframework.core. SmartClassLoader
-
Determine whether the given class is reloadable (in this ClassLoader).
- isCollection() - Method in class org.springframework.core.convert. TypeDescriptor
-
Is this type a
Collection
type? - isCompatibleWithThrowsClause(Throwable, Class<?>...) - Static method in class org.springframework.util. ObjectUtils
-
Check whether the given exception is compatible with the specified exception types, as declared in a throws clause.
- isConcrete() - Method in interface org.springframework.core.type. ClassMetadata
-
Return whether the underlying class represents a concrete class, i.e.
- isConcrete() - Method in class org.springframework.core.type. StandardClassMetadata
- isDaemon() - Method in class org.springframework.util. CustomizableThreadCreator
-
Return whether this factory should create daemon threads.
- isEligibleForOverriding(String) - Method in class org.springframework.core. OverridingClassLoader
-
Determine whether the specified class is eligible for overriding by this class loader.
- isEmpty() - Method in class org.springframework.util. AutoPopulatingList
- isEmpty() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- isEmpty(Collection) - Static method in class org.springframework.util. CollectionUtils
-
Return
true
if the supplied Collection isnull
or empty. - isEmpty(Map) - Static method in class org.springframework.util. CollectionUtils
-
Return
true
if the supplied Map isnull
or empty. - isEmpty() - Method in class org.springframework.util. LinkedMultiValueMap
- isEmpty(Object[]) - Static method in class org.springframework.util. ObjectUtils
-
Determine whether the given array is empty: i.e.
- isEmpty(Object) - Static method in class org.springframework.util. StringUtils
-
Check whether the given String is empty.
- isEqualsMethod(Method) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given method is an "equals" method.
- isExcluded(String) - Method in class org.springframework.core. DecoratingClassLoader
-
Determine whether the specified class is excluded from decoration by this class loader.
- isFileURL(URL) - Static method in class org.springframework.util. ResourceUtils
-
Determine whether the given URL points to a resource in the file system, that is, has protocol "file", "vfsfile" or "vfs".
- isFinal() - Method in interface org.springframework.core.type. ClassMetadata
-
Return whether the underlying class is marked as 'final'.
- isFinal() - Method in interface org.springframework.core.type. MethodMetadata
-
Return whether the underlying method is marked as 'final'.
- isFinal() - Method in class org.springframework.core.type. StandardClassMetadata
- isFinal() - Method in class org.springframework.core.type. StandardMethodMetadata
- isHashCodeMethod(Method) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given method is a "hashCode" method.
- isIndependent() - Method in interface org.springframework.core.type. ClassMetadata
-
Determine whether the underlying class is independent, i.e.
- isIndependent() - Method in class org.springframework.core.type. StandardClassMetadata
- isInstanceOf(Class<?>, Object) - Static method in class org.springframework.util. Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class<?>, Object, String) - Static method in class org.springframework.util. Assert
-
Assert that the provided object is an instance of the provided class.
- isInterface() - Method in interface org.springframework.core.type. ClassMetadata
-
Return whether the underlying class represents an interface.
- isInterface() - Method in class org.springframework.core.type. StandardClassMetadata
- isJarResource(Resource) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Return whether the given resource handle indicates a jar resource that the
doFindPathMatchingJarResources
method can handle. - isJarURL(URL) - Static method in class org.springframework.util. ResourceUtils
-
Determine whether the given URL points to a resource in a jar file, that is, has protocol "jar", "zip", "vfszip", "wsjar" or "code-source".
- isMap() - Method in class org.springframework.core.convert. TypeDescriptor
-
Is this type a
Map
type? - isNull(Object, String) - Static method in class org.springframework.util. Assert
-
Assert that an object is
null
. - isNull(Object) - Static method in class org.springframework.util. Assert
-
Assert that an object is
null
. - isObjectMethod(Method) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given method is originally declared by
Object
. - isOpen() - Method in class org.springframework.core.io. AbstractResource
-
This implementation always returns
false
. - isOpen() - Method in class org.springframework.core.io. InputStreamResource
-
This implementation always returns
true
. - isOpen() - Method in interface org.springframework.core.io. Resource
-
Return whether this resource represents a handle with an open stream.
- isOverridable() - Method in interface org.springframework.core.type. MethodMetadata
-
Return whether the underlying method is overridable, i.e.
- isOverridable() - Method in class org.springframework.core.type. StandardMethodMetadata
- isPattern(String) - Method in class org.springframework.util. AntPathMatcher
- isPattern(String) - Method in interface org.springframework.util. PathMatcher
-
Does the given
path
represent a pattern that can be matched by an implementation of this interface? - isPrepared() - Method in class org.springframework.util. MethodInvoker
-
Return whether this invoker has been prepared already, i.e.
- isPresent(String) - Static method in class org.springframework.util. ClassUtils
-
Deprecated.as of Spring 2.5, in favor of
ClassUtils.isPresent(String, ClassLoader)
- isPresent(String, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Determine whether the
Class
identified by the supplied name is present and can be loaded. - isPrimitive() - Method in class org.springframework.core.convert. TypeDescriptor
-
Is this type a primitive type?
- isPrimitiveArray(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Check if the given class represents an array of primitives, i.e.
- isPrimitiveOrWrapper(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Check if the given class represents a primitive (i.e.
- isPrimitiveWrapper(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Check if the given class represents a primitive wrapper, i.e.
- isPrimitiveWrapperArray(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Check if the given class represents an array of primitive wrappers, i.e.
- isProfileActive(String) - Method in class org.springframework.core.env. AbstractEnvironment
-
Return whether the given profile is active, or if active profiles are empty whether the profile should be active by default.
- isPublicStaticFinal(Field) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given field is a "public static final" constant.
- isReadable() - Method in class org.springframework.core.io. AbstractFileResolvingResource
- isReadable() - Method in class org.springframework.core.io. AbstractResource
-
This implementation always returns
true
. - isReadable() - Method in class org.springframework.core.io. DescriptiveResource
- isReadable() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation checks whether the underlying file is marked as readable (and corresponds to an actual file with content, not to a directory).
- isReadable() - Method in interface org.springframework.core.io. Resource
-
Return whether the contents of this resource can be read, e.g.
- isReadable() - Method in class org.springframework.core.io. VfsResource
- isRunning() - Method in class org.springframework.util. StopWatch
-
Return whether the stop watch is currently running.
- isShutdown() - Method in class org.springframework.core.task.support. ExecutorServiceAdapter
- isStatic() - Method in interface org.springframework.core.type. MethodMetadata
-
Return whether the underlying method is declared as 'static'.
- isStatic() - Method in class org.springframework.core.type. StandardMethodMetadata
- isStaxResult(Result) - Static method in class org.springframework.util.xml. StaxUtils
-
Indicate whether the given
Result
is a StAX Result. - isStaxSource(Source) - Static method in class org.springframework.util.xml. StaxUtils
-
Indicate whether the given
Source
is a StAX Source. - isStaxSourceClass(Class<? extends Source>) - Static method in class org.springframework.util.xml. StaxUtils
-
Indicate whether the given class is a StAX Source class.
- isTerminated() - Method in class org.springframework.core.task.support. ExecutorServiceAdapter
- isThrottleActive() - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Return whether this throttle is currently active.
- isThrottleActive() - Method in class org.springframework.util. ConcurrencyThrottleSupport
-
Return whether this throttle is currently active.
- isToStringMethod(Method) - Static method in class org.springframework.util. ReflectionUtils
-
Determine whether the given method is a "toString" method.
- isTrue(boolean, String) - Static method in class org.springframework.util. Assert
-
Assert a boolean expression, throwing
IllegalArgumentException
if the test result isfalse
. - isTrue(boolean) - Static method in class org.springframework.util. Assert
-
Assert a boolean expression, throwing
IllegalArgumentException
if the test result isfalse
. - isUrl(String) - Static method in class org.springframework.core.io.support. ResourcePatternUtils
-
Return whether the given resource location is a URL: either a special "classpath" or "classpath*" pseudo URL or a standard URL.
- isUrl(String) - Static method in class org.springframework.util. ResourceUtils
-
Return whether the given resource location is a URL: either a special "classpath" pseudo URL or a standard URL.
- isVisibilityBridgeMethodPair(Method, Method) - Static method in class org.springframework.core. BridgeMethodResolver
-
Compare the signatures of the bridge method and the method which it bridges.
- isVisible(Class<?>, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Check whether the given class is visible in the given ClassLoader.
- isWritable() - Method in class org.springframework.core.io. FileSystemResource
-
This implementation checks whether the underlying file is marked as writable (and corresponds to an actual file with content, not to a directory).
- isWritable() - Method in interface org.springframework.core.io. WritableResource
-
Return whether the contents of this resource can be modified, e.g.
- iterator() - Method in class org.springframework.core.env. MutablePropertySources
- iterator() - Method in class org.springframework.util. AutoPopulatingList
J
- JAR_URL_SEPARATOR - Static variable in class org.springframework.util. ResourceUtils
-
Separator between JAR URL and file path within the JAR
- JAVA_13 - Static variable in class org.springframework.core. JdkVersion
-
Constant identifying the 1.3.x JVM (JDK 1.3).
- JAVA_14 - Static variable in class org.springframework.core. JdkVersion
-
Constant identifying the 1.4.x JVM (J2SE 1.4).
- JAVA_15 - Static variable in class org.springframework.core. JdkVersion
-
Constant identifying the 1.5 JVM (Java 5).
- JAVA_16 - Static variable in class org.springframework.core. JdkVersion
-
Constant identifying the 1.6 JVM (Java 6).
- JAVA_17 - Static variable in class org.springframework.core. JdkVersion
-
Constant identifying the 1.7 JVM (Java 7).
- JAVA_18 - Static variable in class org.springframework.core. JdkVersion
-
Constant identifying the 1.8 JVM (Java 8).
- JdkVersion - Class in org.springframework.core
-
Internal helper class used to find the Java/JVM version that Spring is operating on, to allow for automatically adapting to the present platform's capabilities.
- JdkVersion() - Constructor for class org.springframework.core. JdkVersion
- JOptCommandLinePropertySource - Class in org.springframework.core.env
-
CommandLinePropertySource
implementation backed by a JOptOptionSet
. - JOptCommandLinePropertySource(OptionSet) - Constructor for class org.springframework.core.env. JOptCommandLinePropertySource
-
Create a new
JOptCommandLinePropertySource
having the default name and backed by the givenOptionSet
. - JOptCommandLinePropertySource(String, OptionSet) - Constructor for class org.springframework.core.env. JOptCommandLinePropertySource
-
Create a new
JOptCommandLinePropertySource
having the given name and backed by the givenOptionSet
.
K
- keySet() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- keySet() - Method in class org.springframework.util. LinkedMultiValueMap
L
- LABEL_ORDER - Static variable in interface org.springframework.core.enums. LabeledEnum
-
Deprecated.Shared Comparator instance that sorts enumerations by
LABEL_ORDER
. - LabeledEnum - Interface in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- LabeledEnumResolver - Interface in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- lastIndexOf(Object) - Method in class org.springframework.util. AutoPopulatingList
- lastModified() - Method in class org.springframework.core.io. AbstractFileResolvingResource
- lastModified() - Method in class org.springframework.core.io. AbstractResource
-
This implementation checks the timestamp of the underlying File, if available.
- lastModified() - Method in interface org.springframework.core.io. Resource
-
Determine the last-modified timestamp for this resource.
- lastModified() - Method in class org.springframework.core.io. VfsResource
- LetterCodedLabeledEnum - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- LetterCodedLabeledEnum(char, String) - Constructor for class org.springframework.core.enums. LetterCodedLabeledEnum
-
Deprecated.Create a new LetterCodedLabeledEnum instance.
- LinkedCaseInsensitiveMap< V> - Class in org.springframework.util
-
LinkedHashMap
variant that stores String keys in a case-insensitive manner, for example for key-based access in a results table. - LinkedCaseInsensitiveMap() - Constructor for class org.springframework.util. LinkedCaseInsensitiveMap
-
Create a new LinkedCaseInsensitiveMap for the default Locale.
- LinkedCaseInsensitiveMap(Locale) - Constructor for class org.springframework.util. LinkedCaseInsensitiveMap
-
Create a new LinkedCaseInsensitiveMap that stores lower-case keys according to the given Locale.
- LinkedCaseInsensitiveMap(int) - Constructor for class org.springframework.util. LinkedCaseInsensitiveMap
-
Create a new LinkedCaseInsensitiveMap that wraps a
LinkedHashMap
with the given initial capacity and stores lower-case keys according to the default Locale. - LinkedCaseInsensitiveMap(int, Locale) - Constructor for class org.springframework.util. LinkedCaseInsensitiveMap
-
Create a new LinkedCaseInsensitiveMap that wraps a
LinkedHashMap
with the given initial capacity and stores lower-case keys according to the given Locale. - LinkedMultiValueMap< K, V> - Class in org.springframework.util
-
Simple implementation of
MultiValueMap
that wraps aLinkedHashMap
, storing multiple values in aLinkedList
. - LinkedMultiValueMap() - Constructor for class org.springframework.util. LinkedMultiValueMap
-
Create a new LinkedMultiValueMap that wraps a
LinkedHashMap
. - LinkedMultiValueMap(int) - Constructor for class org.springframework.util. LinkedMultiValueMap
-
Create a new LinkedMultiValueMap that wraps a
LinkedHashMap
with the given initial capacity. - LinkedMultiValueMap(Map<K, List<V>>) - Constructor for class org.springframework.util. LinkedMultiValueMap
-
Copy constructor: Create a new LinkedMultiValueMap with the same mappings as the specified Map.
- listIterator() - Method in class org.springframework.util. AutoPopulatingList
- listIterator(int) - Method in class org.springframework.util. AutoPopulatingList
- load(Properties, InputStream) - Method in class org.springframework.util. DefaultPropertiesPersister
- load(Properties, Reader) - Method in class org.springframework.util. DefaultPropertiesPersister
- load(Properties, InputStream) - Method in interface org.springframework.util. PropertiesPersister
-
Load properties from the given InputStream into the given Properties object.
- load(Properties, Reader) - Method in interface org.springframework.util. PropertiesPersister
-
Load properties from the given Reader into the given Properties object.
- loadAllProperties(String) - Static method in class org.springframework.core.io.support. PropertiesLoaderUtils
-
Load all properties from the specified class path resource (in ISO-8859-1 encoding), using the default class loader.
- loadAllProperties(String, ClassLoader) - Static method in class org.springframework.core.io.support. PropertiesLoaderUtils
-
Load all properties from the specified class path resource (in ISO-8859-1 encoding), using the given class loader.
- loadBytesForClass(String) - Method in class org.springframework.core. OverridingClassLoader
-
Load the defining bytes for the given class, to be turned into a Class object through a
ClassLoader.defineClass(byte[], int, int)
call. - loadClass(String, boolean) - Method in class org.springframework.core. OverridingClassLoader
- loadClassForOverriding(String) - Method in class org.springframework.core. OverridingClassLoader
-
Load the specified class for overriding purposes in this ClassLoader.
- loadFactories(Class<T>, ClassLoader) - Static method in class org.springframework.core.io.support. SpringFactoriesLoader
-
Load the factory implementations of the given type from the default location, using the given class loader.
- loadFactoryNames(Class<?>, ClassLoader) - Static method in class org.springframework.core.io.support. SpringFactoriesLoader
- loadFromXml(Properties, InputStream) - Method in class org.springframework.util. DefaultPropertiesPersister
- loadFromXml(Properties, InputStream) - Method in interface org.springframework.util. PropertiesPersister
-
Load properties from the given XML InputStream into the given Properties object.
- loadProperties(Properties) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Load properties into the given instance.
- loadProperties(EncodedResource) - Static method in class org.springframework.core.io.support. PropertiesLoaderUtils
-
Load properties from the given EncodedResource, potentially defining a specific encoding for the properties file.
- loadProperties(Resource) - Static method in class org.springframework.core.io.support. PropertiesLoaderUtils
-
Load properties from the given resource (in ISO-8859-1 encoding).
- LocalizedResourceHelper - Class in org.springframework.core.io.support
-
Helper class for loading a localized resource, specified through name, extension and current locale.
- LocalizedResourceHelper() - Constructor for class org.springframework.core.io.support. LocalizedResourceHelper
-
Create a new LocalizedResourceHelper with a DefaultResourceLoader.
- LocalizedResourceHelper(ResourceLoader) - Constructor for class org.springframework.core.io.support. LocalizedResourceHelper
-
Create a new LocalizedResourceHelper with the given ResourceLoader.
- localOverride - Variable in class org.springframework.core.io.support. PropertiesLoaderSupport
- localProperties - Variable in class org.springframework.core.io.support. PropertiesLoaderSupport
- LocalVariableTableParameterNameDiscoverer - Class in org.springframework.core
-
Implementation of
ParameterNameDiscoverer
that uses the LocalVariableTable information in the method attributes to discover parameter names. - LocalVariableTableParameterNameDiscoverer() - Constructor for class org.springframework.core. LocalVariableTableParameterNameDiscoverer
- Log4jConfigurer - Class in org.springframework.util
-
Convenience class that features simple methods for custom log4j configuration.
- Log4jConfigurer() - Constructor for class org.springframework.util. Log4jConfigurer
- logger - Variable in class org.springframework.core.enums. AbstractCachingLabeledEnumResolver
-
Deprecated.
- logger - Variable in class org.springframework.core.env. AbstractEnvironment
- logger - Variable in class org.springframework.core.env. AbstractPropertyResolver
- logger - Variable in class org.springframework.core.env. EnumerablePropertySource
- logger - Variable in class org.springframework.core.env. PropertySource
- logger - Variable in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Logger available to subclasses
- logger - Variable in class org.springframework.util. ConcurrencyThrottleSupport
-
Transient to optimize serialization
- LOWEST_PRECEDENCE - Static variable in interface org.springframework.core. Ordered
-
Useful constant for the lowest precedence value.
M
- makeAccessible(Field) - Static method in class org.springframework.util. ReflectionUtils
-
Make the given field accessible, explicitly setting it accessible if necessary.
- makeAccessible(Method) - Static method in class org.springframework.util. ReflectionUtils
-
Make the given method accessible, explicitly setting it accessible if necessary.
- makeAccessible(Constructor<?>) - Static method in class org.springframework.util. ReflectionUtils
-
Make the given constructor accessible, explicitly setting it accessible if necessary.
- map(Class<?>, TypeDescriptor, TypeDescriptor) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor from a
Map
type. - mapEntryKeys(Comparator<K>) - Static method in class org.springframework.core.convert.converter. ConvertingComparator
- mapEntryValues(Comparator<V>) - Static method in class org.springframework.core.convert.converter. ConvertingComparator
- MapPropertySource - Class in org.springframework.core.env
-
PropertySource
that reads keys and values from aMap
object. - MapPropertySource(String, Map<String, Object>) - Constructor for class org.springframework.core.env. MapPropertySource
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.core.type.filter. AbstractClassTestingTypeFilter
- match(ClassMetadata) - Method in class org.springframework.core.type.filter. AbstractClassTestingTypeFilter
-
Determine a match based on the given ClassMetadata object.
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.core.type.filter. AbstractTypeHierarchyTraversingFilter
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.core.type.filter. AspectJTypeFilter
- match(ClassMetadata) - Method in class org.springframework.core.type.filter. RegexPatternTypeFilter
- match(MetadataReader, MetadataReaderFactory) - Method in interface org.springframework.core.type.filter. TypeFilter
-
Determine whether this filter matches for the class described by the given metadata.
- match(String, String) - Method in class org.springframework.util. AntPathMatcher
- match(String, String) - Method in interface org.springframework.util. PathMatcher
-
Match the given
path
against the givenpattern
, according to this PathMatcher's matching strategy. - matchClassName(String) - Method in class org.springframework.core.type.filter. AbstractTypeHierarchyTraversingFilter
-
Override this to match on type name.
- matchClassName(String) - Method in class org.springframework.core.type.filter. AssignableTypeFilter
- matches(TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert.converter. ConditionalConverter
-
Should the conversion from
sourceType
totargetType
currently under consideration be selected? - matches(Field) - Method in interface org.springframework.util. ReflectionUtils.FieldFilter
-
Determine whether the given field matches.
- matches(Method) - Method in interface org.springframework.util. ReflectionUtils.MethodFilter
-
Determine whether the given method matches.
- matchesTypeName(Class<?>, String) - Static method in class org.springframework.util. ClassUtils
-
Check whether the given class matches the user-specified type name.
- matchInterface(String) - Method in class org.springframework.core.type.filter. AbstractTypeHierarchyTraversingFilter
-
Override this to match on interface type name.
- matchInterface(String) - Method in class org.springframework.core.type.filter. AnnotationTypeFilter
- matchInterface(String) - Method in class org.springframework.core.type.filter. AssignableTypeFilter
- matchSelf(MetadataReader) - Method in class org.springframework.core.type.filter. AbstractTypeHierarchyTraversingFilter
-
Override this to match self characteristics alone.
- matchSelf(MetadataReader) - Method in class org.springframework.core.type.filter. AnnotationTypeFilter
- matchStart(String, String) - Method in class org.springframework.util. AntPathMatcher
- matchStart(String, String) - Method in interface org.springframework.util. PathMatcher
-
Match the given
path
against the corresponding part of the givenpattern
, according to this PathMatcher's matching strategy. - matchSuperClass(String) - Method in class org.springframework.core.type.filter. AbstractTypeHierarchyTraversingFilter
-
Override this to match on super type name.
- matchSuperClass(String) - Method in class org.springframework.core.type.filter. AnnotationTypeFilter
- matchSuperClass(String) - Method in class org.springframework.core.type.filter. AssignableTypeFilter
- matchTargetType(String) - Method in class org.springframework.core.type.filter. AssignableTypeFilter
- md5Digest(byte[]) - Static method in class org.springframework.util. DigestUtils
-
Calculate the MD5 digest of the given bytes.
- md5DigestAsHex(byte[]) - Static method in class org.springframework.util. DigestUtils
-
Return a hexadecimal string representation of the MD5 digest of the given bytes.
- MemorySafeUndeclaredThrowableStrategy - Class in org.springframework.cglib.transform.impl
-
Memory-safe variant of
UndeclaredThrowableStrategy
ported from CGLIB 3.1, introduced for using it in Spring before it was officially released in CGLIB. - MemorySafeUndeclaredThrowableStrategy(Class<?>) - Constructor for class org.springframework.cglib.transform.impl. MemorySafeUndeclaredThrowableStrategy
- merge(ConfigurableEnvironment) - Method in class org.springframework.core.env. AbstractEnvironment
- merge(ConfigurableEnvironment) - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Append the given parent environment's active profiles, default profiles and property sources to this (child) environment's respective collections of each.
- mergeArrayIntoCollection(Object, Collection) - Static method in class org.springframework.util. CollectionUtils
-
Merge the given array into the given Collection.
- mergeProperties() - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Return a merged Properties instance containing both the loaded properties and properties set on this FactoryBean.
- mergePropertiesIntoMap(Properties, Map) - Static method in class org.springframework.util. CollectionUtils
-
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
- mergeStringArrays(String[], String[]) - Static method in class org.springframework.util. StringUtils
-
Merge the given String arrays into one, with overlapping array elements only included once.
- MetadataReader - Interface in org.springframework.core.type.classreading
-
Simple facade for accessing class metadata, as read by an ASM
ClassReader
. - MetadataReaderFactory - Interface in org.springframework.core.type.classreading
-
Factory interface for
MetadataReader
instances. - MethodInvoker - Class in org.springframework.util
-
Helper class that allows for specifying a method to invoke in a declarative fashion, be it static or non-static.
- MethodInvoker() - Constructor for class org.springframework.util. MethodInvoker
- MethodMetadata - Interface in org.springframework.core.type
-
Interface that defines abstract access to the annotations of a specific class, in a form that does not require that class to be loaded yet.
- MethodParameter - Class in org.springframework.core
-
Helper class that encapsulates the specification of a method parameter, i.e.
- MethodParameter(Method, int) - Constructor for class org.springframework.core. MethodParameter
-
Create a new MethodParameter for the given method, with nesting level 1.
- MethodParameter(Method, int, int) - Constructor for class org.springframework.core. MethodParameter
-
Create a new MethodParameter for the given method.
- MethodParameter(Constructor<?>, int) - Constructor for class org.springframework.core. MethodParameter
-
Create a new MethodParameter for the given constructor, with nesting level 1.
- MethodParameter(Constructor<?>, int, int) - Constructor for class org.springframework.core. MethodParameter
-
Create a new MethodParameter for the given constructor.
- MethodParameter(MethodParameter) - Constructor for class org.springframework.core. MethodParameter
-
Copy constructor, resulting in an independent MethodParameter object based on the same metadata and cache state that the original object was in.
- MissingRequiredPropertiesException - Exception in org.springframework.core.env
-
Exception thrown when required properties are not found.
- MissingRequiredPropertiesException() - Constructor for exception org.springframework.core.env. MissingRequiredPropertiesException
- monitor(Object, WeakReferenceMonitor.ReleaseListener) - Static method in class org.springframework.util. WeakReferenceMonitor
-
Start to monitor given handle object for becoming weakly reachable.
- MultiValueMap< K, V> - Interface in org.springframework.util
-
Extension of the
Map
interface that stores multiple values. - MutablePropertySources - Class in org.springframework.core.env
-
Default implementation of the
PropertySources
interface. - MutablePropertySources() - Constructor for class org.springframework.core.env. MutablePropertySources
-
Create a new
MutablePropertySources
object. - MutablePropertySources(PropertySources) - Constructor for class org.springframework.core.env. MutablePropertySources
-
Create a new
MutablePropertySources
from the given propertySources object, preserving the original order of containedPropertySource
objects.
N
- name - Variable in class org.springframework.core.env. PropertySource
- named(String) - Static method in class org.springframework.core.env. PropertySource
-
Return a
PropertySource
implementation intended for collection comparison purposes only. - NamedInheritableThreadLocal< T> - Class in org.springframework.core
-
InheritableThreadLocal
subclass that exposes a specified name asNamedInheritableThreadLocal.toString()
result (allowing for introspection). - NamedInheritableThreadLocal(String) - Constructor for class org.springframework.core. NamedInheritableThreadLocal
-
Create a new NamedInheritableThreadLocal with the given name.
- NamedThreadLocal< T> - Class in org.springframework.core
-
ThreadLocal
subclass that exposes a specified name asNamedThreadLocal.toString()
result (allowing for introspection). - NamedThreadLocal(String) - Constructor for class org.springframework.core. NamedThreadLocal
-
Create a new NamedThreadLocal with the given name.
- narrow(Object) - Method in class org.springframework.core.convert. TypeDescriptor
-
Narrows this
TypeDescriptor
by setting its type to the class of the provided value. - nested(MethodParameter, int) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Creates a type descriptor for a nested type declared within the method parameter.
- nested(Field, int) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Creates a type descriptor for a nested type declared within the field.
- nested(Property, int) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Creates a type descriptor for a nested type declared within the property.
- NestedCheckedException - Exception in org.springframework.core
-
Handy class for wrapping checked
Exceptions
with a root cause. - NestedCheckedException(String) - Constructor for exception org.springframework.core. NestedCheckedException
-
Construct a
NestedCheckedException
with the specified detail message. - NestedCheckedException(String, Throwable) - Constructor for exception org.springframework.core. NestedCheckedException
-
Construct a
NestedCheckedException
with the specified detail message and nested exception. - NestedExceptionUtils - Class in org.springframework.core
-
Helper class for implementing exception classes which are capable of holding nested exceptions.
- NestedExceptionUtils() - Constructor for class org.springframework.core. NestedExceptionUtils
- NestedIOException - Exception in org.springframework.core
-
Subclass of
IOException
that properly handles a root cause, exposing the root cause just like NestedChecked/RuntimeException does. - NestedIOException(String) - Constructor for exception org.springframework.core. NestedIOException
-
Construct a
NestedIOException
with the specified detail message. - NestedIOException(String, Throwable) - Constructor for exception org.springframework.core. NestedIOException
-
Construct a
NestedIOException
with the specified detail message and nested exception. - NestedRuntimeException - Exception in org.springframework.core
-
Handy class for wrapping runtime
Exceptions
with a root cause. - NestedRuntimeException(String) - Constructor for exception org.springframework.core. NestedRuntimeException
-
Construct a
NestedRuntimeException
with the specified detail message. - NestedRuntimeException(String, Throwable) - Constructor for exception org.springframework.core. NestedRuntimeException
-
Construct a
NestedRuntimeException
with the specified detail message and nested exception. - next() - Method in class org.springframework.util. CompositeIterator
- nextThreadName() - Method in class org.springframework.util. CustomizableThreadCreator
-
Return the thread name to use for a newly created
Thread
. - NO_CONCURRENCY - Static variable in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Switch concurrency 'off': that is, don't allow any concurrent invocations.
- NO_CONCURRENCY - Static variable in class org.springframework.util. ConcurrencyThrottleSupport
-
Switch concurrency 'off': that is, don't allow any concurrent invocations.
- nodeNameEquals(Node, String) - Static method in class org.springframework.util.xml. DomUtils
-
Namespace-aware equals comparison.
- NON_BRIDGED_METHODS - Static variable in class org.springframework.util. ReflectionUtils
-
Pre-built MethodFilter that matches all non-bridge methods.
- nonClosing(InputStream) - Static method in class org.springframework.util. StreamUtils
-
Returns a variant of the given
InputStream
where callingclose()
has no effect. - nonClosing(OutputStream) - Static method in class org.springframework.util. StreamUtils
-
Returns a variant of the given
OutputStream
where callingclose()
has no effect. - noNullElements(Object[], String) - Static method in class org.springframework.util. Assert
-
Assert that an array has no null elements.
- noNullElements(Object[]) - Static method in class org.springframework.util. Assert
-
Assert that an array has no null elements.
- notEmpty(Object[], String) - Static method in class org.springframework.util. Assert
-
Assert that an array has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Object[]) - Static method in class org.springframework.util. Assert
-
Assert that an array has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Collection, String) - Static method in class org.springframework.util. Assert
-
Assert that a collection has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Collection) - Static method in class org.springframework.util. Assert
-
Assert that a collection has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Map, String) - Static method in class org.springframework.util. Assert
-
Assert that a Map has entries; that is, it must not be
null
and must have at least one entry. - notEmpty(Map) - Static method in class org.springframework.util. Assert
-
Assert that a Map has entries; that is, it must not be
null
and must have at least one entry. - notNull(Object, String) - Static method in class org.springframework.util. Assert
-
Assert that an object is not
null
. - notNull(Object) - Static method in class org.springframework.util. Assert
-
Assert that an object is not
null
. - NULLS_HIGH - Static variable in class org.springframework.util.comparator. NullSafeComparator
-
A shared default instance of this comparator, treating nulls higher than non-null objects.
- NULLS_LOW - Static variable in class org.springframework.util.comparator. NullSafeComparator
-
A shared default instance of this comparator, treating nulls lower than non-null objects.
- nullSafeClassName(Object) - Static method in class org.springframework.util. ObjectUtils
-
Determine the class name for the given object.
- NullSafeComparator< T> - Class in org.springframework.util.comparator
-
A Comparator that will safely compare nulls to be lower or higher than other objects.
- NullSafeComparator(Comparator<T>, boolean) - Constructor for class org.springframework.util.comparator. NullSafeComparator
-
Create a NullSafeComparator that sorts
null
based on the provided flag, decorating the given Comparator. - nullSafeEquals(Object, Object) - Static method in class org.springframework.util. ObjectUtils
-
Determine if the given objects are equal, returning
true
if both arenull
orfalse
if only one isnull
. - nullSafeHashCode(Object) - Static method in class org.springframework.util. ObjectUtils
-
Return as hash code for the given object; typically the value of
Object#hashCode()
}. - nullSafeHashCode(Object[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(boolean[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(byte[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(char[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(double[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(float[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(int[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(long[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeHashCode(short[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a hash code based on the contents of the specified array.
- nullSafeToString(Object) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the specified Object.
- nullSafeToString(Object[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(boolean[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(byte[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(char[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(double[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(float[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(int[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(long[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- nullSafeToString(short[]) - Static method in class org.springframework.util. ObjectUtils
-
Return a String representation of the contents of the specified array.
- NumberUtils - Class in org.springframework.util
-
Miscellaneous utility methods for number conversion and parsing.
- NumberUtils() - Constructor for class org.springframework.util. NumberUtils
O
- ObjectUtils - Class in org.springframework.util
-
Miscellaneous object utility methods.
- ObjectUtils() - Constructor for class org.springframework.util. ObjectUtils
- openStreamForClass(String) - Method in class org.springframework.core. OverridingClassLoader
-
Open an InputStream for the specified class.
- Order - Annotation Type in org.springframework.core.annotation
-
Annotation that defines ordering.
- OrderComparator - Class in org.springframework.core
-
Comparator
implementation forOrdered
objects, sorting by order value ascending (resp. - OrderComparator() - Constructor for class org.springframework.core. OrderComparator
- Ordered - Interface in org.springframework.core
-
Interface that can be implemented by objects that should be orderable, for example in a Collection.
- org.springframework.asm - package org.springframework.asm
-
Spring's repackaging of org.objectweb.asm 4 (for internal use only).
- org.springframework.asm.util - package org.springframework.asm.util
-
Dummy implementations of asm-util classes (for internal use only).
- org.springframework.cglib - package org.springframework.cglib
-
Spring's repackaging of net.sf.cglib 3 (for internal use only).
- org.springframework.cglib.core - package org.springframework.cglib.core
- org.springframework.cglib.transform.impl - package org.springframework.cglib.transform.impl
- org.springframework.core - package org.springframework.core
-
Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.
- org.springframework.core.annotation - package org.springframework.core.annotation
-
Core support package for Java 5 annotations.
- org.springframework.core.convert - package org.springframework.core.convert
-
Type conversion system API.
- org.springframework.core.convert.converter - package org.springframework.core.convert.converter
-
SPI to implement Converters for the type conversion system.
- org.springframework.core.convert.support - package org.springframework.core.convert.support
-
Default implementation of the type conversion system.
- org.springframework.core.enums - package org.springframework.core.enums
-
Interfaces and classes for type-safe enum support on JDK >= 1.3.
- org.springframework.core.env - package org.springframework.core.env
-
Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.
- org.springframework.core.io - package org.springframework.core.io
-
Generic abstraction for (file-based) resources, used throughout the framework.
- org.springframework.core.io.support - package org.springframework.core.io.support
-
Support classes for Spring's resource abstraction.
- org.springframework.core.serializer - package org.springframework.core.serializer
-
Root package for Spring's serializer interfaces and implementations.
- org.springframework.core.serializer.support - package org.springframework.core.serializer.support
-
Support classes for Spring's serializer abstraction.
- org.springframework.core.style - package org.springframework.core.style
-
Support for styling values as Strings, with ToStringCreator as central class.
- org.springframework.core.task - package org.springframework.core.task
-
This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
- org.springframework.core.task.support - package org.springframework.core.task.support
-
Support classes for Spring's TaskExecutor abstraction.
- org.springframework.core.type - package org.springframework.core.type
-
Core support package for type introspection.
- org.springframework.core.type.classreading - package org.springframework.core.type.classreading
-
Support classes for reading annotation and class-level metadata.
- org.springframework.core.type.filter - package org.springframework.core.type.filter
-
Core support package for type filtering (e.g.
- org.springframework.util - package org.springframework.util
-
Miscellaneous utility classes, such as String manipulation utilities, a Log4J configurer, and a state holder for paged lists of objects.
- org.springframework.util.comparator - package org.springframework.util.comparator
-
Useful generic
java.util.Comparator
implementations, such as an invertible comparator and a compound comparator. - org.springframework.util.xml - package org.springframework.util.xml
-
Miscellaneous utility classes for XML parsing and transformation, such as error handlers that log warnings via Commons Logging.
- overrideThreadContextClassLoader(ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e.
- OverridingClassLoader - Class in org.springframework.core
-
ClassLoader
that does not always delegate to the parent loader, as normal class loaders do. - OverridingClassLoader(ClassLoader) - Constructor for class org.springframework.core. OverridingClassLoader
-
Create a new OverridingClassLoader for the given class loader.
P
- ParameterizedTypeReference< T> - Class in org.springframework.core
-
The purpose of this class is to enable capturing and passing a generic
Type
. - ParameterizedTypeReference() - Constructor for class org.springframework.core. ParameterizedTypeReference
- ParameterNameDiscoverer - Interface in org.springframework.core
-
Interface to discover parameter names for methods and constructors.
- parseLocaleString(String) - Static method in class org.springframework.util. StringUtils
-
Parse the given
localeString
value into aLocale
. - parseNumber(String, Class<T>) - Static method in class org.springframework.util. NumberUtils
-
Parse the given text into a number instance of the given target class, using the corresponding
decode
/valueOf
methods. - parseNumber(String, Class<T>, NumberFormat) - Static method in class org.springframework.util. NumberUtils
-
Parse the given text into a number instance of the given target class, using the given NumberFormat.
- parseStringValue(String, PropertyPlaceholderHelper.PlaceholderResolver, Set<String>) - Method in class org.springframework.util. PropertyPlaceholderHelper
- pathEquals(String, String) - Static method in class org.springframework.util. StringUtils
-
Compare two paths after normalization of them.
- PathMatcher - Interface in org.springframework.util
-
Strategy interface for
String
-based path matching. - PathMatchingResourcePatternResolver - Class in org.springframework.core.io.support
-
A
ResourcePatternResolver
implementation that is able to resolve a specified resource location path into one or more matching Resources. - PathMatchingResourcePatternResolver() - Constructor for class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Create a new PathMatchingResourcePatternResolver with a DefaultResourceLoader.
- PathMatchingResourcePatternResolver(ResourceLoader) - Constructor for class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Create a new PathMatchingResourcePatternResolver.
- PathMatchingResourcePatternResolver(ClassLoader) - Constructor for class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Create a new PathMatchingResourcePatternResolver with a DefaultResourceLoader.
- PatternMatchUtils - Class in org.springframework.util
-
Utility methods for simple pattern matching, in particular for Spring's typical "xxx*", "*xxx" and "*xxx*" pattern styles.
- PatternMatchUtils() - Constructor for class org.springframework.util. PatternMatchUtils
- PLACEHOLDER_PREFIX - Static variable in class org.springframework.util. SystemPropertyUtils
-
Prefix for system property placeholders: "${"
- PLACEHOLDER_SUFFIX - Static variable in class org.springframework.util. SystemPropertyUtils
-
Suffix for system property placeholders: "}"
- pollForPurge() - Method in class org.springframework.util. ConcurrentReferenceHashMap.ReferenceManager
-
Return any reference that has been garbage collected and can be purged from the underlying structure or
null
if no references need purging. - precedenceOf(PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Return the precedence of the given property source,
-1
if not found. - prepare() - Method in class org.springframework.util. MethodInvoker
-
Prepare the specified method.
- prettyPrint() - Method in class org.springframework.util. StopWatch
-
Return a string with a table describing all tasks performed.
- PrioritizedParameterNameDiscoverer - Class in org.springframework.core
-
ParameterNameDiscoverer implementation that tries several ParameterNameDiscoverers in succession.
- PrioritizedParameterNameDiscoverer() - Constructor for class org.springframework.core. PrioritizedParameterNameDiscoverer
- PriorityOrdered - Interface in org.springframework.core
-
Extension of the
Ordered
interface, expressing a 'priority' ordering: Order values expressed by PriorityOrdered objects always apply before order values of 'plain' Ordered values. - PropertiesLoaderSupport - Class in org.springframework.core.io.support
-
Base class for JavaBean-style components that need to load properties from one or more resources.
- PropertiesLoaderSupport() - Constructor for class org.springframework.core.io.support. PropertiesLoaderSupport
- PropertiesLoaderUtils - Class in org.springframework.core.io.support
-
Convenient utility methods for loading of
java.util.Properties
, performing standard handling of input streams. - PropertiesLoaderUtils() - Constructor for class org.springframework.core.io.support. PropertiesLoaderUtils
- PropertiesPersister - Interface in org.springframework.util
-
Strategy interface for persisting
java.util.Properties
, allowing for pluggable parsing strategies. - PropertiesPropertySource - Class in org.springframework.core.env
-
PropertySource
implementation that extracts properties from aProperties
object. - PropertiesPropertySource(String, Properties) - Constructor for class org.springframework.core.env. PropertiesPropertySource
- Property - Class in org.springframework.core.convert
-
A description of a JavaBeans Property that allows us to avoid a dependency on
java.beans.PropertyDescriptor
. - Property(Class<?>, Method, Method) - Constructor for class org.springframework.core.convert. Property
- Property(Class<?>, Method, Method, String) - Constructor for class org.springframework.core.convert. Property
- PropertyPlaceholderHelper - Class in org.springframework.util
-
Utility class for working with Strings that have placeholder values in them.
- PropertyPlaceholderHelper(String, String) - Constructor for class org.springframework.util. PropertyPlaceholderHelper
-
Creates a new
PropertyPlaceholderHelper
that uses the supplied prefix and suffix. - PropertyPlaceholderHelper(String, String, String, boolean) - Constructor for class org.springframework.util. PropertyPlaceholderHelper
-
Creates a new
PropertyPlaceholderHelper
that uses the supplied prefix and suffix. - PropertyPlaceholderHelper.PlaceholderResolver - Interface in org.springframework.util
-
Strategy interface used to resolve replacement values for placeholders contained in Strings.
- PropertyResolver - Interface in org.springframework.core.env
-
Interface for resolving properties against any underlying source.
- PropertySource< T> - Class in org.springframework.core.env
-
Abstract base class representing a source of name/value property pairs.
- PropertySource(String, T) - Constructor for class org.springframework.core.env. PropertySource
-
Create a new
PropertySource
with the given name and source object. - PropertySource(String) - Constructor for class org.springframework.core.env. PropertySource
-
Create a new
PropertySource
with the given name and with a newObject
instance as the underlying source. - PropertySource.StubPropertySource - Class in org.springframework.core.env
-
PropertySource
to be used as a placeholder in cases where an actual property source cannot be eagerly initialized at application context creation time. - PropertySource.StubPropertySource(String) - Constructor for class org.springframework.core.env. PropertySource.StubPropertySource
- PropertySources - Interface in org.springframework.core.env
-
Holder containing one or more
PropertySource
objects. - PropertySourcesPropertyResolver - Class in org.springframework.core.env
-
PropertyResolver
implementation that resolves property values against an underlying set ofPropertySources
. - PropertySourcesPropertyResolver(PropertySources) - Constructor for class org.springframework.core.env. PropertySourcesPropertyResolver
-
Create a new resolver against the given property sources.
- propertyToConstantNamePrefix(String) - Method in class org.springframework.core. Constants
-
Convert the given bean property name to a constant name prefix.
- purgeUnreferencedEntries() - Method in class org.springframework.util. ConcurrentReferenceHashMap
-
Remove any entries that have been garbage collected and are no longer referenced.
- put(K, V) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.Put an object into the cache, possibly wrapping it with a weak reference.
- put(K, V) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- put(String, V) - Method in class org.springframework.util. LinkedCaseInsensitiveMap
- put(K, List<V>) - Method in class org.springframework.util. LinkedMultiValueMap
- putAll(Map<? extends K, ? extends V>) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- putAll(Map<? extends String, ? extends V>) - Method in class org.springframework.util. LinkedCaseInsensitiveMap
- putAll(Map<? extends K, ? extends List<V>>) - Method in class org.springframework.util. LinkedMultiValueMap
- putIfAbsent(Object, Object) - Method in interface org.springframework.core. ConcurrentMap
-
Deprecated.
- putIfAbsent(K, V) - Method in class org.springframework.util. ConcurrentReferenceHashMap
Q
- quote(String) - Static method in class org.springframework.util. StringUtils
-
Quote the given String with single quotes.
- quoteIfString(Object) - Static method in class org.springframework.util. StringUtils
-
Turn the given Object into a String with single quotes if it is a String; keeping the Object as-is else.
R
- readResolve() - Method in class org.springframework.core.enums. StaticLabeledEnum
-
Deprecated.Return the resolved type safe static enum instance.
- ReflectionUtils - Class in org.springframework.util
-
Simple utility class for working with the reflection API and handling reflection exceptions.
- ReflectionUtils() - Constructor for class org.springframework.util. ReflectionUtils
- ReflectionUtils.FieldCallback - Interface in org.springframework.util
-
Callback interface invoked on each field in the hierarchy.
- ReflectionUtils.FieldFilter - Interface in org.springframework.util
-
Callback optionally used to filter fields to be operated on by a field callback.
- ReflectionUtils.MethodCallback - Interface in org.springframework.util
-
Action to take on each method.
- ReflectionUtils.MethodFilter - Interface in org.springframework.util
-
Callback optionally used to filter methods to be operated on by a method callback.
- RegexPatternTypeFilter - Class in org.springframework.core.type.filter
-
A simple filter for matching a fully-qualified class name with a regex
Pattern
. - RegexPatternTypeFilter(Pattern) - Constructor for class org.springframework.core.type.filter. RegexPatternTypeFilter
- registerAlias(String, String) - Method in interface org.springframework.core. AliasRegistry
-
Given a name, register an alias for it.
- registerAlias(String, String) - Method in class org.springframework.core. SimpleAliasRegistry
- registerConverters(Set<?>, ConverterRegistry) - Static method in class org.springframework.core.convert.support. ConversionServiceFactory
-
Register the given Converter objects with the given target ConverterRegistry.
- release() - Method in interface org.springframework.util. ConcurrentReferenceHashMap.Reference
-
Release this entry and ensure that it will be returned from
ReferenceManager#pollForPurge()
. - released() - Method in interface org.springframework.util. WeakReferenceMonitor.ReleaseListener
-
This callback method is invoked once the associated handle has been released, i.e.
- remove(Object, Object) - Method in interface org.springframework.core. ConcurrentMap
-
Deprecated.
- remove(String) - Method in class org.springframework.core.env. MutablePropertySources
-
Remove and return the property source with the given name,
null
if not found. - remove(int) - Method in class org.springframework.util. AutoPopulatingList
- remove(Object) - Method in class org.springframework.util. AutoPopulatingList
- remove(Object) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- remove() - Method in class org.springframework.util. CompositeIterator
- remove(Object) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- remove(Object, Object) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- remove(Object) - Method in class org.springframework.util. LinkedCaseInsensitiveMap
- remove(Object) - Method in class org.springframework.util. LinkedMultiValueMap
- removeAlias(String) - Method in interface org.springframework.core. AliasRegistry
-
Remove the specified alias from this registry.
- removeAlias(String) - Method in class org.springframework.core. SimpleAliasRegistry
- removeAll(Collection<?>) - Method in class org.springframework.util. AutoPopulatingList
- removeAttribute(String) - Method in interface org.springframework.core. AttributeAccessor
-
Remove the attribute identified by
name
and return its value. - removeAttribute(String) - Method in class org.springframework.core. AttributeAccessorSupport
- removeBinding(String) - Method in class org.springframework.util.xml. SimpleNamespaceContext
-
Removes the given prefix from this context.
- removeConvertible(Class<?>, Class<?>) - Method in interface org.springframework.core.convert.converter. ConverterRegistry
-
Remove any converters from sourceType to targetType.
- removeConvertible(Class<?>, Class<?>) - Method in class org.springframework.core.convert.support. GenericConversionService
- removeDuplicateStrings(String[]) - Static method in class org.springframework.util. StringUtils
-
Remove duplicate Strings from the given array.
- removeIfPresent(PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Log the removal of the given propertySource if it is present.
- replace(Object, Object, Object) - Method in interface org.springframework.core. ConcurrentMap
-
Deprecated.
- replace(Object, Object) - Method in interface org.springframework.core. ConcurrentMap
-
Deprecated.
- replace(String, PropertySource<?>) - Method in class org.springframework.core.env. MutablePropertySources
-
Replace the property source with the given name with the given property source object.
- replace(K, V, V) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- replace(K, V) - Method in class org.springframework.util. ConcurrentReferenceHashMap
- replace(String, String, String) - Static method in class org.springframework.util. StringUtils
-
Replace all occurrences of a substring within a string with another string.
- replacePlaceholders(String, Properties) - Method in class org.springframework.util. PropertyPlaceholderHelper
-
Replaces all placeholders of format
${name}
with the corresponding property from the suppliedProperties
. - replacePlaceholders(String, PropertyPlaceholderHelper.PlaceholderResolver) - Method in class org.springframework.util. PropertyPlaceholderHelper
-
Replaces all placeholders of format
${name}
with the value returned from the suppliedPropertyPlaceholderHelper.PlaceholderResolver
. - requiresReader() - Method in class org.springframework.core.io.support. EncodedResource
-
Determine whether a
Reader
is required as opposed to anInputStream
, i.e. - RESERVED_DEFAULT_PROFILE_NAME - Static variable in class org.springframework.core.env. AbstractEnvironment
-
Name of reserved default profile name: "default".
- resolveAliases(StringValueResolver) - Method in class org.springframework.core. SimpleAliasRegistry
-
Resolve all alias target names and aliases registered in this factory, applying the given StringValueResolver to them.
- resolveClass(ObjectStreamClass) - Method in class org.springframework.core. ConfigurableObjectInputStream
- resolveClassName(String, ClassLoader) - Static method in class org.springframework.util. ClassUtils
-
Resolve the given class name into a Class instance.
- resolveClassName(String) - Method in class org.springframework.util. MethodInvoker
-
Resolve the given class name into a Class.
- resolveFallbackIfPossible(String, ClassNotFoundException) - Method in class org.springframework.core. ConfigurableObjectInputStream
-
Resolve the given class name against a fallback class loader.
- resolveNestedPlaceholders(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
-
Resolve placeholders within the given string, deferring to the value of
AbstractPropertyResolver.setIgnoreUnresolvableNestedPlaceholders(boolean)
to determine whether any unresolvable placeholders should raise an exception or be ignored. - resolveParameterType(MethodParameter, Class<?>) - Static method in class org.springframework.core. GenericTypeResolver
-
Determine the target type for the given generic parameter type.
- resolvePath(String) - Method in class org.springframework.core.io. ResourceEditor
-
Resolve the given path, replacing placeholders with corresponding property values from the
environment
if necessary. - resolvePath(String) - Method in class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Resolve the given path, replacing placeholders with corresponding system property values if necessary.
- resolvePlaceholder(String) - Method in interface org.springframework.util. PropertyPlaceholderHelper.PlaceholderResolver
-
Resolves the supplied placeholder name into the replacement value.
- resolvePlaceholders(String) - Method in class org.springframework.core.env. AbstractEnvironment
- resolvePlaceholders(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
- resolvePlaceholders(String) - Method in interface org.springframework.core.env. PropertyResolver
-
Resolve ${...} placeholders in the given text, replacing them with corresponding property values as resolved by
PropertyResolver.getProperty(java.lang.String)
. - resolvePlaceholders(String) - Static method in class org.springframework.util. SystemPropertyUtils
-
Resolve
${...}
placeholders in the given text, replacing them with corresponding system property values. - resolvePlaceholders(String, boolean) - Static method in class org.springframework.util. SystemPropertyUtils
-
Resolve
${...}
placeholders in the given text, replacing them with corresponding system property values. - resolvePrimitiveClassName(String) - Static method in class org.springframework.util. ClassUtils
-
Resolve the given class name as primitive class, if appropriate, according to the JVM's naming rules for primitive classes.
- resolvePrimitiveIfNecessary(Class<?>) - Static method in class org.springframework.util. ClassUtils
-
Resolve the given class if it is a primitive class, returning the corresponding primitive wrapper type instead.
- resolveProxyClass(String[]) - Method in class org.springframework.core. ConfigurableObjectInputStream
- resolveRequiredPlaceholders(String) - Method in class org.springframework.core.env. AbstractEnvironment
- resolveRequiredPlaceholders(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
- resolveRequiredPlaceholders(String) - Method in interface org.springframework.core.env. PropertyResolver
-
Resolve ${...} placeholders in the given text, replacing them with corresponding property values as resolved by
PropertyResolver.getProperty(java.lang.String)
. - resolveReturnType(Method, Class<?>) - Static method in class org.springframework.core. GenericTypeResolver
-
Determine the target type for the generic return type of the given method, where formal type variables are declared on the given class.
- resolveReturnTypeArgument(Method, Class<?>) - Static method in class org.springframework.core. GenericTypeResolver
-
Resolve the single type argument of the given generic interface against the given target method which is assumed to return the given interface or an implementation of it.
- resolveReturnTypeForGenericMethod(Method, Object[]) - Static method in class org.springframework.core. GenericTypeResolver
-
Deprecated.in favor of resolveReturnTypeForFactoryMethod in the internal AutowireUtils class in the beans module; we do not expect other use of it!
- resolveRootDirResource(Resource) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Resolve the specified resource for path matching.
- resolveStringValue(String) - Method in interface org.springframework.util. StringValueResolver
-
Resolve the given String value, for example parsing placeholders.
- resolveType(Type, Map<TypeVariable, Type>) - Static method in class org.springframework.core. GenericTypeResolver
-
Resolve the specified generic type against the given TypeVariable map.
- resolveTypeArgument(Class<?>, Class<?>) - Static method in class org.springframework.core. GenericTypeResolver
-
Resolve the single type argument of the given generic interface against the given target class which is assumed to implement the generic interface and possibly declare a concrete type for its type variable.
- resolveTypeArguments(Class<?>, Class<?>) - Static method in class org.springframework.core. GenericTypeResolver
-
Resolve the type arguments of the given generic interface against the given target class which is assumed to implement the generic interface and possibly declare concrete types for its type variables.
- resolveURL() - Method in class org.springframework.core.io. ClassPathResource
-
Resolves a URL for the underlying class path resource.
- Resource - Interface in org.springframework.core.io
-
Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.
- ResourceArrayPropertyEditor - Class in org.springframework.core.io.support
-
Editor for
Resource
arrays, to automatically convertString
location patterns (e.g. - ResourceArrayPropertyEditor() - Constructor for class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Create a new ResourceArrayPropertyEditor with a default
PathMatchingResourcePatternResolver
andStandardEnvironment
. - ResourceArrayPropertyEditor(ResourcePatternResolver) - Constructor for class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Deprecated.
- ResourceArrayPropertyEditor(ResourcePatternResolver, boolean) - Constructor for class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Deprecated.
- ResourceArrayPropertyEditor(ResourcePatternResolver, PropertyResolver) - Constructor for class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Create a new ResourceArrayPropertyEditor with the given
ResourcePatternResolver
andPropertyResolver
(typically anEnvironment
). - ResourceArrayPropertyEditor(ResourcePatternResolver, PropertyResolver, boolean) - Constructor for class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Create a new ResourceArrayPropertyEditor with the given
ResourcePatternResolver
andPropertyResolver
(typically anEnvironment
). - ResourceEditor - Class in org.springframework.core.io
- ResourceEditor() - Constructor for class org.springframework.core.io. ResourceEditor
-
Create a new instance of the
ResourceEditor
class using aDefaultResourceLoader
andStandardEnvironment
. - ResourceEditor(ResourceLoader) - Constructor for class org.springframework.core.io. ResourceEditor
-
Deprecated.as of Spring 3.1 in favor of
ResourceEditor.ResourceEditor(ResourceLoader, PropertyResolver)
- ResourceEditor(ResourceLoader, boolean) - Constructor for class org.springframework.core.io. ResourceEditor
-
Deprecated.as of Spring 3.1 in favor of
ResourceEditor.ResourceEditor(ResourceLoader, PropertyResolver, boolean)
- ResourceEditor(ResourceLoader, PropertyResolver) - Constructor for class org.springframework.core.io. ResourceEditor
-
Create a new instance of the
ResourceEditor
class using the givenResourceLoader
andPropertyResolver
. - ResourceEditor(ResourceLoader, PropertyResolver, boolean) - Constructor for class org.springframework.core.io. ResourceEditor
-
Create a new instance of the
ResourceEditor
class using the givenResourceLoader
. - ResourceLoader - Interface in org.springframework.core.io
-
Strategy interface for loading resources (e..
- ResourcePatternResolver - Interface in org.springframework.core.io.support
-
Strategy interface for resolving a location pattern (for example, an Ant-style path pattern) into Resource objects.
- ResourcePatternUtils - Class in org.springframework.core.io.support
-
Utility class for determining whether a given URL is a resource location that can be loaded via a ResourcePatternResolver.
- ResourcePatternUtils() - Constructor for class org.springframework.core.io.support. ResourcePatternUtils
- ResourcePropertySource - Class in org.springframework.core.io.support
-
Subclass of
PropertiesPropertySource
that loads aProperties
object from a givenResource
or resource location such as"classpath:/com/myco/foo.properties"
or"file:/path/to/file.xml"
. - ResourcePropertySource(String, EncodedResource) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource having the given name based on Properties loaded from the given encoded resource.
- ResourcePropertySource(EncodedResource) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource based on Properties loaded from the given resource.
- ResourcePropertySource(String, Resource) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource having the given name based on Properties loaded from the given encoded resource.
- ResourcePropertySource(Resource) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource based on Properties loaded from the given resource.
- ResourcePropertySource(String, String, ClassLoader) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource having the given name based on Properties loaded from the given resource location and using the given class loader to load the resource (assuming it is prefixed with
classpath:
). - ResourcePropertySource(String, ClassLoader) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource based on Properties loaded from the given resource location and use the given class loader to load the resource, assuming it is prefixed with
classpath:
. - ResourcePropertySource(String, String) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource having the given name based on Properties loaded from the given resource location.
- ResourcePropertySource(String) - Constructor for class org.springframework.core.io.support. ResourcePropertySource
-
Create a PropertySource based on Properties loaded from the given resource location.
- ResourceUtils - Class in org.springframework.util
-
Utility methods for resolving resource locations to files in the file system.
- ResourceUtils() - Constructor for class org.springframework.util. ResourceUtils
- restructureIfNecessary(boolean) - Method in class org.springframework.util. ConcurrentReferenceHashMap.Segment
-
Restructure the underlying data structure when it becomes necessary.
- retainAll(Collection<?>) - Method in class org.springframework.util. AutoPopulatingList
- rethrowException(Throwable) - Static method in class org.springframework.util. ReflectionUtils
-
Rethrow the given
exception
, which is presumably the target exception of anInvocationTargetException
. - rethrowRuntimeException(Throwable) - Static method in class org.springframework.util. ReflectionUtils
-
Rethrow the given
exception
, which is presumably the target exception of anInvocationTargetException
. - retrieveMatchingFiles(File, String) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Retrieve files that match the given path pattern, checking the given directory and its subdirectories.
S
- SerializationFailedException - Exception in org.springframework.core.serializer.support
-
Wrapper for the native IOException (or similar) when a
Serializer
orDeserializer
failed. - SerializationFailedException(String) - Constructor for exception org.springframework.core.serializer.support. SerializationFailedException
-
Construct a
SerializationException
with the specified detail message. - SerializationFailedException(String, Throwable) - Constructor for exception org.springframework.core.serializer.support. SerializationFailedException
-
Construct a
SerializationException
with the specified detail message and nested exception. - SerializationUtils - Class in org.springframework.util
-
Static utilities for serialization and deserialization.
- SerializationUtils() - Constructor for class org.springframework.util. SerializationUtils
- serialize(Object, OutputStream) - Method in class org.springframework.core.serializer. DefaultSerializer
-
Writes the source object to an output stream using Java Serialization.
- serialize(T, OutputStream) - Method in interface org.springframework.core.serializer. Serializer
-
Write an object of type T to the given OutputStream.
- serialize(Object) - Static method in class org.springframework.util. SerializationUtils
-
Serialize the given object to a byte array.
- Serializer< T> - Interface in org.springframework.core.serializer
-
A strategy interface for streaming an object to an OutputStream.
- SerializingConverter - Class in org.springframework.core.serializer.support
-
A
Converter
that delegates to aSerializer
to convert an object to a byte array. - SerializingConverter() - Constructor for class org.springframework.core.serializer.support. SerializingConverter
-
Create a default SerializingConverter that uses standard Java serialization.
- SerializingConverter(Serializer<Object>) - Constructor for class org.springframework.core.serializer.support. SerializingConverter
-
Create a SerializingConverter that delegates to the provided
Serializer
- set(int, E) - Method in class org.springframework.util. AutoPopulatingList
- set(K, V) - Method in class org.springframework.util. LinkedMultiValueMap
- set(K, V) - Method in interface org.springframework.util. MultiValueMap
-
Set the given single value under the given key.
- setActiveProfiles(String...) - Method in class org.springframework.core.env. AbstractEnvironment
- setActiveProfiles(String...) - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Specify the set of profiles active for this
Environment
. - setAll(Map<K, V>) - Method in class org.springframework.util. LinkedMultiValueMap
- setAll(Map<K, V>) - Method in interface org.springframework.util. MultiValueMap
-
Set the given values under.
- setArguments(Object[]) - Method in class org.springframework.util. MethodInvoker
-
Set arguments for the method invocation.
- setAscending(boolean) - Method in class org.springframework.util.comparator. InvertibleComparator
-
Specify the sort order: ascending (true) or descending (false).
- setAscendingOrder(int) - Method in class org.springframework.util.comparator. CompoundComparator
-
Change the sort order at the given index to ascending.
- setAsText(String) - Method in class org.springframework.core.convert.support. ConvertingPropertyEditorAdapter
- setAsText(String) - Method in class org.springframework.core.io. ResourceEditor
- setAsText(String) - Method in class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Treat the given text as a location pattern and convert it to a Resource array.
- setAttribute(String, Object) - Method in interface org.springframework.core. AttributeAccessor
-
Set the attribute defined by
name
to the suppliedvalue
. - setAttribute(String, Object) - Method in class org.springframework.core. AttributeAccessorSupport
- setBindings(Map<String, String>) - Method in class org.springframework.util.xml. SimpleNamespaceContext
-
Sets the bindings for this namespace context.
- setCacheLimit(int) - Method in class org.springframework.core.type.classreading. CachingMetadataReaderFactory
-
Specify the maximum number of entries for the MetadataReader cache.
- setClassLoader(ClassLoader) - Method in class org.springframework.core.io. DefaultResourceLoader
-
Specify the ClassLoader to load class path resources with, or
null
for using the thread context class loader at the time of actual resource access. - setComparator(int, Comparator<T>) - Method in class org.springframework.util.comparator. CompoundComparator
-
Replace the Comparator at the given index.
- setComparator(int, Comparator<T>, boolean) - Method in class org.springframework.util.comparator. CompoundComparator
-
Replace the Comparator at the given index using the given sort order.
- setConcurrencyLimit(int) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Set the maximum number of parallel accesses allowed.
- setConcurrencyLimit(int) - Method in class org.springframework.util. ConcurrencyThrottleSupport
-
Set the maximum number of concurrent access attempts allowed.
- setConversionService(ConfigurableConversionService) - Method in class org.springframework.core.env. AbstractEnvironment
- setConversionService(ConfigurableConversionService) - Method in class org.springframework.core.env. AbstractPropertyResolver
- setConversionService(ConfigurableConversionService) - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Set the
ConfigurableConversionService
to be used when performing type conversions on properties. - setDaemon(boolean) - Method in class org.springframework.util. CustomizableThreadCreator
-
Set whether this factory is supposed to create daemon threads, just executing as long as the application itself is running.
- setDefaultProfiles(String...) - Method in class org.springframework.core.env. AbstractEnvironment
-
Specify the set of profiles to be made active by default if no other profiles are explicitly made active through
ConfigurableEnvironment.setActiveProfiles(java.lang.String...)
. - setDefaultProfiles(String...) - Method in interface org.springframework.core.env. ConfigurableEnvironment
-
Specify the set of profiles to be made active by default if no other profiles are explicitly made active through
ConfigurableEnvironment.setActiveProfiles(java.lang.String...)
. - setDescendingOrder(int) - Method in class org.springframework.util.comparator. CompoundComparator
-
Change the sort order at the given index to descending sort.
- setField(Field, Object, Object) - Static method in class org.springframework.util. ReflectionUtils
-
Set the field represented by the supplied
field object
on the specifiedtarget object
to the specifiedvalue
. - setFileEncoding(String) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set the encoding to use for parsing properties files.
- setFlag(String) - Static method in class org.springframework.core. SpringProperties
-
Programmatically set a local flag to "true", overriding an entry in the
spring.properties
file (if any). - setIgnoreResourceNotFound(boolean) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set if failure to find the property resource should be ignored.
- setIgnoreUnresolvableNestedPlaceholders(boolean) - Method in class org.springframework.core.env. AbstractEnvironment
- setIgnoreUnresolvableNestedPlaceholders(boolean) - Method in class org.springframework.core.env. AbstractPropertyResolver
-
Set whether to throw an exception when encountering an unresolvable placeholder nested within the value of a given property.
- setIgnoreUnresolvableNestedPlaceholders(boolean) - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Set whether to throw an exception when encountering an unresolvable placeholder nested within the value of a given property.
- setKeepTaskList(boolean) - Method in class org.springframework.util. StopWatch
-
Determine whether the TaskInfo array is built over time.
- setLocalOverride(boolean) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set whether local properties override properties from files.
- setLocation(Resource) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set a location of a properties file to be loaded.
- setLocations(Resource[]) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set locations of properties files to be loaded.
- setNonOptionArgsPropertyName(String) - Method in class org.springframework.core.env. CommandLinePropertySource
-
Specify the name of the special "non-option arguments" property.
- setPathMatcher(PathMatcher) - Method in class org.springframework.core.io.support. PathMatchingResourcePatternResolver
-
Set the PathMatcher implementation to use for this resource pattern resolver.
- setPathSeparator(String) - Method in class org.springframework.util. AntPathMatcher
-
Set the path separator to use for pattern parsing.
- setPlaceholderPrefix(String) - Method in class org.springframework.core.env. AbstractEnvironment
- setPlaceholderPrefix(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
-
Set the prefix that placeholders replaced by this resolver must begin with.
- setPlaceholderPrefix(String) - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Set the prefix that placeholders replaced by this resolver must begin with.
- setPlaceholderSuffix(String) - Method in class org.springframework.core.env. AbstractEnvironment
- setPlaceholderSuffix(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
-
Set the suffix that placeholders replaced by this resolver must end with.
- setPlaceholderSuffix(String) - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Set the suffix that placeholders replaced by this resolver must end with.
- setProperties(Properties) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set local properties, e.g.
- setPropertiesArray(Properties[]) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set local properties, e.g.
- setPropertiesPersister(PropertiesPersister) - Method in class org.springframework.core.io.support. PropertiesLoaderSupport
-
Set the PropertiesPersister to use for parsing properties files.
- setProperty(String, String) - Static method in class org.springframework.core. SpringProperties
-
Programmatically set a local property, overriding an entry in the
spring.properties
file (if any). - setRequiredProperties(String...) - Method in class org.springframework.core.env. AbstractEnvironment
- setRequiredProperties(String...) - Method in class org.springframework.core.env. AbstractPropertyResolver
- setRequiredProperties(String...) - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Specify which properties must be present, to be verified by
ConfigurablePropertyResolver.validateRequiredProperties()
. - setSeparator(String) - Method in class org.springframework.core.io.support. LocalizedResourceHelper
-
Set the separator to use inbetween file name parts.
- setStaticMethod(String) - Method in class org.springframework.util. MethodInvoker
-
Set a fully qualified static method name to invoke, e.g.
- setTargetClass(Class<?>) - Method in class org.springframework.util. MethodInvoker
-
Set the target class on which to call the target method.
- setTargetMethod(String) - Method in class org.springframework.util. MethodInvoker
-
Set the name of the method to be invoked.
- setTargetObject(Object) - Method in class org.springframework.util. MethodInvoker
-
Set the target object on which to call the target method.
- setThreadFactory(ThreadFactory) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Specify an external factory to use for creating new Threads, instead of relying on the local properties of this executor.
- setThreadGroup(ThreadGroup) - Method in class org.springframework.util. CustomizableThreadCreator
-
Specify the thread group that threads should be created in.
- setThreadGroupName(String) - Method in class org.springframework.util. CustomizableThreadCreator
-
Specify the name of the thread group that threads should be created in.
- setThreadNamePrefix(String) - Method in class org.springframework.util. CustomizableThreadCreator
-
Specify the prefix to use for the names of newly created threads.
- setThreadPriority(int) - Method in class org.springframework.util. CustomizableThreadCreator
-
Set the priority of the threads that this factory creates.
- setTrimTokens(boolean) - Method in class org.springframework.util. AntPathMatcher
-
Specify whether to trim tokenized paths and patterns.
- setTypeIndexForCurrentLevel(int) - Method in class org.springframework.core. MethodParameter
-
Set the type index for the current nesting level.
- setValue(Object) - Method in class org.springframework.core.io.support. ResourceArrayPropertyEditor
-
Treat the given value as a collection or array and convert it to a Resource array.
- setValue(V) - Method in class org.springframework.util. ConcurrentReferenceHashMap.Entry
- setValueSeparator(String) - Method in class org.springframework.core.env. AbstractEnvironment
- setValueSeparator(String) - Method in class org.springframework.core.env. AbstractPropertyResolver
-
Specify the separating character between the placeholders replaced by this resolver and their associated default value, or
null
if no such special character should be processed as a value separator. - setValueSeparator(String) - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Specify the separating character between the placeholders replaced by this resolver and their associated default value, or
null
if no such special character should be processed as a value separator. - setWorkingDirSystemProperty(String) - Static method in class org.springframework.util. Log4jConfigurer
-
Set the specified system property to the current working directory.
- shallowCopyFieldState(Object, Object) - Static method in class org.springframework.util. ReflectionUtils
-
Given the source object and the destination, which must be the same class or a subclass, copy all fields, including inherited fields.
- ShortCodedLabeledEnum - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- ShortCodedLabeledEnum(int, String) - Constructor for class org.springframework.core.enums. ShortCodedLabeledEnum
-
Deprecated.Create a new ShortCodedLabeledEnum instance.
- shortSummary() - Method in class org.springframework.util. StopWatch
-
Return a short description of the total running time.
- shortValue() - Method in class org.springframework.core.enums. StaticLabeledEnum
-
Deprecated.Return the code of this LabeledEnum instance as a short.
- shutdown() - Method in class org.springframework.core.task.support. ExecutorServiceAdapter
- shutdownLogging() - Static method in class org.springframework.util. Log4jConfigurer
-
Shut down log4j, properly releasing all file locks.
- shutdownNow() - Method in class org.springframework.core.task.support. ExecutorServiceAdapter
- SimpleAliasRegistry - Class in org.springframework.core
-
Simple implementation of the
AliasRegistry
interface. - SimpleAliasRegistry() - Constructor for class org.springframework.core. SimpleAliasRegistry
- SimpleAsyncTaskExecutor - Class in org.springframework.core.task
-
TaskExecutor
implementation that fires up a new Thread for each task, executing it asynchronously. - SimpleAsyncTaskExecutor() - Constructor for class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Create a new SimpleAsyncTaskExecutor with default thread name prefix.
- SimpleAsyncTaskExecutor(String) - Constructor for class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Create a new SimpleAsyncTaskExecutor with the given thread name prefix.
- SimpleAsyncTaskExecutor(ThreadFactory) - Constructor for class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Create a new SimpleAsyncTaskExecutor with the given external thread factory.
- SimpleCommandLinePropertySource - Class in org.springframework.core.env
-
CommandLinePropertySource
implementation backed by a simple String array. - SimpleCommandLinePropertySource(String...) - Constructor for class org.springframework.core.env. SimpleCommandLinePropertySource
-
Create a new
SimpleCommandLinePropertySource
having the default name and backed by the givenString[]
of command line arguments. - SimpleCommandLinePropertySource(String, String[]) - Constructor for class org.springframework.core.env. SimpleCommandLinePropertySource
-
Create a new
SimpleCommandLinePropertySource
having the given name and backed by the givenString[]
of command line arguments. - simpleMatch(String, String) - Static method in class org.springframework.util. PatternMatchUtils
-
Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.
- simpleMatch(String[], String) - Static method in class org.springframework.util. PatternMatchUtils
-
Match a String against the given patterns, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.
- SimpleMetadataReaderFactory - Class in org.springframework.core.type.classreading
-
Simple implementation of the
MetadataReaderFactory
interface, creating a new ASMClassReader
for every request. - SimpleMetadataReaderFactory() - Constructor for class org.springframework.core.type.classreading. SimpleMetadataReaderFactory
-
Create a new SimpleMetadataReaderFactory for the default class loader.
- SimpleMetadataReaderFactory(ResourceLoader) - Constructor for class org.springframework.core.type.classreading. SimpleMetadataReaderFactory
-
Create a new SimpleMetadataReaderFactory for the given resource loader.
- SimpleMetadataReaderFactory(ClassLoader) - Constructor for class org.springframework.core.type.classreading. SimpleMetadataReaderFactory
-
Create a new SimpleMetadataReaderFactory for the given class loader.
- SimpleNamespaceContext - Class in org.springframework.util.xml
-
Simple
javax.xml.namespace.NamespaceContext
implementation. - SimpleNamespaceContext() - Constructor for class org.springframework.util.xml. SimpleNamespaceContext
- SimpleSaxErrorHandler - Class in org.springframework.util.xml
-
Simple
org.xml.sax.ErrorHandler
implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation. - SimpleSaxErrorHandler(Log) - Constructor for class org.springframework.util.xml. SimpleSaxErrorHandler
-
Create a new SimpleSaxErrorHandler for the given Commons Logging logger instance.
- SimpleTransformErrorListener - Class in org.springframework.util.xml
-
Simple
javax.xml.transform.ErrorListener
implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation. - SimpleTransformErrorListener(Log) - Constructor for class org.springframework.util.xml. SimpleTransformErrorListener
-
Create a new SimpleTransformErrorListener for the given Commons Logging logger instance.
- size() - Method in class org.springframework.core.env. MutablePropertySources
-
Return the number of
PropertySource
objects contained. - size() - Method in class org.springframework.util. AutoPopulatingList
- size() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- size() - Method in class org.springframework.util. ConcurrentReferenceHashMap
- size() - Method in class org.springframework.util. LinkedMultiValueMap
- SmartClassLoader - Interface in org.springframework.core
-
Interface to be implemented by a reloading-aware ClassLoader (e.g.
- sort(List<?>) - Static method in class org.springframework.core.annotation. AnnotationAwareOrderComparator
-
Sort the given List with a default AnnotationAwareOrderComparator.
- sort(Object[]) - Static method in class org.springframework.core.annotation. AnnotationAwareOrderComparator
-
Sort the given array with a default AnnotationAwareOrderComparator.
- sort(List<?>) - Static method in class org.springframework.core. OrderComparator
-
Sort the given List with a default OrderComparator.
- sort(Object[]) - Static method in class org.springframework.core. OrderComparator
-
Sort the given array with a default OrderComparator.
- sortStringArray(String[]) - Static method in class org.springframework.util. StringUtils
-
Turn given source String array into sorted array.
- source - Variable in class org.springframework.core.env. PropertySource
- split(String, String) - Static method in class org.springframework.util. StringUtils
-
Split a String at the first occurrence of the delimiter.
- splitArrayElementsIntoProperties(String[], String) - Static method in class org.springframework.util. StringUtils
-
Take an array Strings and split each element based on the given delimiter.
- splitArrayElementsIntoProperties(String[], String, String) - Static method in class org.springframework.util. StringUtils
-
Take an array Strings and split each element based on the given delimiter.
- SpringAsmInfo - Class in org.springframework.asm
-
Utility class exposing constants related to Spring's internal repackaging of the ASM bytecode manipulation library (currently based on version 5.0).
- SpringAsmInfo() - Constructor for class org.springframework.asm. SpringAsmInfo
- SpringCglibInfo - Class in org.springframework.cglib
-
Empty class used to ensure that the
org.springframework.cglib
package is processed during Javadoc generation. - SpringCglibInfo() - Constructor for class org.springframework.cglib. SpringCglibInfo
- SpringFactoriesLoader - Class in org.springframework.core.io.support
-
General purpose factory loading mechanism for internal use within the framework.
- SpringFactoriesLoader() - Constructor for class org.springframework.core.io.support. SpringFactoriesLoader
- SpringNamingPolicy - Class in org.springframework.cglib.core
-
Custom extension of CGLIB's
DefaultNamingPolicy
, modifying the tag in generated class names from "ByCGLIB" to "BySpringCGLIB". - SpringNamingPolicy() - Constructor for class org.springframework.cglib.core. SpringNamingPolicy
- SpringProperties - Class in org.springframework.core
-
Static holder for local Spring properties, i.e.
- SpringProperties() - Constructor for class org.springframework.core. SpringProperties
- SpringVersion - Class in org.springframework.core
-
Class that exposes the Spring version.
- SpringVersion() - Constructor for class org.springframework.core. SpringVersion
- StandardAnnotationMetadata - Class in org.springframework.core.type
-
AnnotationMetadata
implementation that uses standard reflection to introspect a givenClass
. - StandardAnnotationMetadata(Class<?>) - Constructor for class org.springframework.core.type. StandardAnnotationMetadata
-
Create a new
StandardAnnotationMetadata
wrapper for the given Class. - StandardAnnotationMetadata(Class<?>, boolean) - Constructor for class org.springframework.core.type. StandardAnnotationMetadata
-
Create a new
StandardAnnotationMetadata
wrapper for the given Class, providing the option to return any nested annotations or annotation arrays in the form ofAnnotationAttributes
instead of actualAnnotation
instances. - StandardClassMetadata - Class in org.springframework.core.type
-
ClassMetadata
implementation that uses standard reflection to introspect a givenClass
. - StandardClassMetadata(Class) - Constructor for class org.springframework.core.type. StandardClassMetadata
-
Create a new StandardClassMetadata wrapper for the given Class.
- StandardEnvironment - Class in org.springframework.core.env
-
Environment
implementation suitable for use in 'standard' (i.e. - StandardEnvironment() - Constructor for class org.springframework.core.env. StandardEnvironment
- StandardMethodMetadata - Class in org.springframework.core.type
-
MethodMetadata
implementation that uses standard reflection to introspect a givenMethod
. - StandardMethodMetadata(Method) - Constructor for class org.springframework.core.type. StandardMethodMetadata
-
Create a new StandardMethodMetadata wrapper for the given Method.
- StandardMethodMetadata(Method, boolean) - Constructor for class org.springframework.core.type. StandardMethodMetadata
-
Create a new StandardMethodMetadata wrapper for the given Method, providing the option to return any nested annotations or annotation arrays in the form of
AnnotationAttributes
instead of actualAnnotation
instances. - start() - Method in class org.springframework.util. StopWatch
-
Start an unnamed task.
- start(String) - Method in class org.springframework.util. StopWatch
-
Start a named task.
- startsWithIgnoreCase(String, String) - Static method in class org.springframework.util. StringUtils
-
Test if the given String starts with the specified prefix, ignoring upper/lower case.
- state(boolean, String) - Static method in class org.springframework.util. Assert
-
Assert a boolean expression, throwing
IllegalStateException
if the test result isfalse
. - state(boolean) - Static method in class org.springframework.util. Assert
-
Assert a boolean expression, throwing
IllegalStateException
if the test result isfalse
. - StaticLabeledEnum - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- StaticLabeledEnum(int, String) - Constructor for class org.springframework.core.enums. StaticLabeledEnum
-
Deprecated.Create a new StaticLabeledEnum instance.
- StaticLabeledEnumResolver - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- StaticLabeledEnumResolver() - Constructor for class org.springframework.core.enums. StaticLabeledEnumResolver
-
Deprecated.
- StaxUtils - Class in org.springframework.util.xml
-
Convenience methods for working with the StAX API.
- StaxUtils() - Constructor for class org.springframework.util.xml. StaxUtils
- stop() - Method in class org.springframework.util. StopWatch
-
Stop the current task.
- StopWatch - Class in org.springframework.util
-
Simple stop watch, allowing for timing of a number of tasks, exposing total running time and running time for each named task.
- StopWatch() - Constructor for class org.springframework.util. StopWatch
-
Construct a new stop watch.
- StopWatch(String) - Constructor for class org.springframework.util. StopWatch
-
Construct a new stop watch with the given id.
- StopWatch.TaskInfo - Class in org.springframework.util
-
Inner class to hold data about one task executed within the stop watch.
- store(Properties, OutputStream, String) - Method in class org.springframework.util. DefaultPropertiesPersister
- store(Properties, Writer, String) - Method in class org.springframework.util. DefaultPropertiesPersister
- store(Properties, OutputStream, String) - Method in interface org.springframework.util. PropertiesPersister
-
Write the contents of the given Properties object to the given OutputStream.
- store(Properties, Writer, String) - Method in interface org.springframework.util. PropertiesPersister
-
Write the contents of the given Properties object to the given Writer.
- storeToXml(Properties, OutputStream, String) - Method in class org.springframework.util. DefaultPropertiesPersister
- storeToXml(Properties, OutputStream, String, String) - Method in class org.springframework.util. DefaultPropertiesPersister
- storeToXml(Properties, OutputStream, String) - Method in interface org.springframework.util. PropertiesPersister
-
Write the contents of the given Properties object to the given XML OutputStream.
- storeToXml(Properties, OutputStream, String, String) - Method in interface org.springframework.util. PropertiesPersister
-
Write the contents of the given Properties object to the given XML OutputStream.
- StreamUtils - Class in org.springframework.util
-
Simple utility methods for dealing with streams.
- StreamUtils() - Constructor for class org.springframework.util. StreamUtils
- StringCodedLabeledEnum - Class in org.springframework.core.enums
-
Deprecated.as of Spring 3.0, in favor of Java 5 enums.
- StringCodedLabeledEnum(String, String) - Constructor for class org.springframework.core.enums. StringCodedLabeledEnum
-
Deprecated.Create a new StringCodedLabeledEnum instance.
- StringUtils - Class in org.springframework.util
-
Miscellaneous
String
utility methods. - StringUtils() - Constructor for class org.springframework.util. StringUtils
- StringValueResolver - Interface in org.springframework.util
-
Simple strategy interface for resolving a String value.
- stripFilenameExtension(String) - Static method in class org.springframework.util. StringUtils
-
Strip the filename extension from the given path, e.g.
- style(Object) - Method in class org.springframework.core.style. DefaultValueStyler
- style(Object) - Static method in class org.springframework.core.style. StylerUtils
-
Style the specified value according to default conventions.
- style(Object) - Method in interface org.springframework.core.style. ValueStyler
-
Style the given value, returning a String representation.
- styleEnd(StringBuilder, Object) - Method in class org.springframework.core.style. DefaultToStringStyler
- styleEnd(StringBuilder, Object) - Method in interface org.springframework.core.style. ToStringStyler
-
Style a
toString()
'ed object after it's fields are styled. - styleField(StringBuilder, String, Object) - Method in class org.springframework.core.style. DefaultToStringStyler
- styleField(StringBuilder, String, Object) - Method in interface org.springframework.core.style. ToStringStyler
-
Style a field value as a string.
- styleFieldEnd(StringBuilder, String) - Method in class org.springframework.core.style. DefaultToStringStyler
- styleFieldSeparator(StringBuilder) - Method in class org.springframework.core.style. DefaultToStringStyler
- styleFieldSeparator(StringBuilder) - Method in interface org.springframework.core.style. ToStringStyler
-
Style the field separator.
- styleFieldStart(StringBuilder, String) - Method in class org.springframework.core.style. DefaultToStringStyler
- StylerUtils - Class in org.springframework.core.style
-
Simple utility class to allow for convenient access to value styling logic, mainly to support descriptive logging messages.
- StylerUtils() - Constructor for class org.springframework.core.style. StylerUtils
- styleStart(StringBuilder, Object) - Method in class org.springframework.core.style. DefaultToStringStyler
- styleStart(StringBuilder, Object) - Method in interface org.springframework.core.style. ToStringStyler
-
Style a
toString()
'ed object before its fields are styled. - styleValue(StringBuilder, Object) - Method in class org.springframework.core.style. DefaultToStringStyler
- styleValue(StringBuilder, Object) - Method in interface org.springframework.core.style. ToStringStyler
-
Style the given value.
- subList(int, int) - Method in class org.springframework.util. AutoPopulatingList
- submit(Runnable) - Method in interface org.springframework.core.task. AsyncTaskExecutor
-
Submit a Runnable task for execution, receiving a Future representing that task.
- submit(Callable<T>) - Method in interface org.springframework.core.task. AsyncTaskExecutor
-
Submit a Callable task for execution, receiving a Future representing that task.
- submit(Runnable) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
- submit(Callable<T>) - Method in class org.springframework.core.task. SimpleAsyncTaskExecutor
- submit(Runnable) - Method in class org.springframework.core.task.support. TaskExecutorAdapter
- submit(Callable<T>) - Method in class org.springframework.core.task.support. TaskExecutorAdapter
- substringMatch(CharSequence, int, CharSequence) - Static method in class org.springframework.util. StringUtils
-
Test whether the given string matches the given substring at the given index.
- suppressGetenvAccess() - Method in class org.springframework.core.env. AbstractEnvironment
-
Determine whether to suppress
System.getenv()
/System.getenv(String)
access for the purposes ofAbstractEnvironment.getSystemEnvironment()
. - SyncTaskExecutor - Class in org.springframework.core.task
-
TaskExecutor
implementation that executes each task synchronously in the calling thread. - SyncTaskExecutor() - Constructor for class org.springframework.core.task. SyncTaskExecutor
- SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME - Static variable in class org.springframework.core.env. StandardEnvironment
-
System environment property source name: "systemEnvironment"
- SYSTEM_PROPERTIES_PROPERTY_SOURCE_NAME - Static variable in class org.springframework.core.env. StandardEnvironment
-
JVM system properties property source name: "systemProperties"
- SystemEnvironmentPropertySource - Class in org.springframework.core.env
-
Specialization of
MapPropertySource
designed for use with system environment variables. - SystemEnvironmentPropertySource(String, Map<String, Object>) - Constructor for class org.springframework.core.env. SystemEnvironmentPropertySource
-
Create a new
SystemEnvironmentPropertySource
with the given name and delegating to the givenMapPropertySource
. - SystemPropertyUtils - Class in org.springframework.util
-
Helper class for resolving placeholders in texts.
- SystemPropertyUtils() - Constructor for class org.springframework.util. SystemPropertyUtils
T
- TaskExecutor - Interface in org.springframework.core.task
-
Simple task executor interface that abstracts the execution of a
Runnable
. - TaskExecutorAdapter - Class in org.springframework.core.task.support
-
Adapter that takes a JDK
java.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it. - TaskExecutorAdapter(Executor) - Constructor for class org.springframework.core.task.support. TaskExecutorAdapter
-
Create a new TaskExecutorAdapter, using the given JDK concurrent executor.
- TaskRejectedException - Exception in org.springframework.core.task
-
Exception thrown when a
TaskExecutor
rejects to accept a given task for execution. - TaskRejectedException(String) - Constructor for exception org.springframework.core.task. TaskRejectedException
-
Create a new
TaskRejectedException
with the specified detail message and no root cause. - TaskRejectedException(String, Throwable) - Constructor for exception org.springframework.core.task. TaskRejectedException
-
Create a new
TaskRejectedException
with the specified detail message and the given root cause. - TaskTimeoutException - Exception in org.springframework.core.task
-
Exception thrown when a
AsyncTaskExecutor
rejects to accept a given task for execution because of the specified timeout. - TaskTimeoutException(String) - Constructor for exception org.springframework.core.task. TaskTimeoutException
-
Create a new
TaskTimeoutException
with the specified detail message and no root cause. - TaskTimeoutException(String, Throwable) - Constructor for exception org.springframework.core.task. TaskTimeoutException
-
Create a new
TaskTimeoutException
with the specified detail message and the given root cause. - TIMEOUT_IMMEDIATE - Static variable in interface org.springframework.core.task. AsyncTaskExecutor
-
Constant that indicates immediate execution
- TIMEOUT_INDEFINITE - Static variable in interface org.springframework.core.task. AsyncTaskExecutor
-
Constant that indicates no time limit
- toArray() - Method in class org.springframework.util. AutoPopulatingList
- toArray(T[]) - Method in class org.springframework.util. AutoPopulatingList
- toArray(Enumeration<E>, A[]) - Static method in class org.springframework.util. CollectionUtils
-
Marshal the elements from the given enumeration into an array of the given type.
- toClassArray(Collection<Class<?>>) - Static method in class org.springframework.util. ClassUtils
-
Copy the given Collection into a Class array.
- toCode(Object, String) - Method in class org.springframework.core. Constants
-
Look up the given value within the given group of constants.
- toCodeForProperty(Object, String) - Method in class org.springframework.core. Constants
-
Look up the given value within the group of constants for the given bean property name.
- toCodeForSuffix(Object, String) - Method in class org.springframework.core. Constants
-
Look up the given value within the given group of constants.
- toIterator(Enumeration<E>) - Static method in class org.springframework.util. CollectionUtils
-
Adapt an enumeration to an iterator.
- tokenizePath(String) - Method in class org.springframework.util. AntPathMatcher
-
Tokenize the given path String into parts, based on this matcher's settings.
- tokenizeToStringArray(String, String) - Static method in class org.springframework.util. StringUtils
-
Tokenize the given String into a String array via a StringTokenizer.
- tokenizeToStringArray(String, String, boolean, boolean) - Static method in class org.springframework.util. StringUtils
-
Tokenize the given String into a String array via a StringTokenizer.
- toLanguageTag(Locale) - Static method in class org.springframework.util. StringUtils
-
Determine the RFC 3066 compliant language tag, as used for the HTTP "Accept-Language" header.
- toMultiValueMap(Map<K, List<V>>) - Static method in class org.springframework.util. CollectionUtils
-
Adapts a
Map<K, List<V>>
to anMultiValueMap<K,V>
. - toObjectArray(Object) - Static method in class org.springframework.util. ObjectUtils
-
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
- toSingleValueMap() - Method in class org.springframework.util. LinkedMultiValueMap
- toSingleValueMap() - Method in interface org.springframework.util. MultiValueMap
-
Returns the first values contained in this
MultiValueMap
. - toString() - Method in class org.springframework.core.annotation. AnnotationAttributes
- toString() - Method in class org.springframework.core.convert.converter. GenericConverter.ConvertiblePair
- toString() - Method in class org.springframework.core.convert.support. GenericConversionService
- toString() - Method in class org.springframework.core.convert. TypeDescriptor
- toString() - Method in class org.springframework.core.enums. AbstractLabeledEnum
-
Deprecated.
- toString() - Method in class org.springframework.core.env. AbstractEnvironment
- toString() - Method in class org.springframework.core.env. CompositePropertySource
- toString() - Method in class org.springframework.core.env. MutablePropertySources
- toString() - Method in class org.springframework.core.env. PropertySource
-
Produce concise output (type and name) if the current log level does not include debug.
- toString() - Method in class org.springframework.core.io. AbstractResource
-
This implementation returns the description of this resource.
- toString() - Method in class org.springframework.core.io.support. EncodedResource
- toString() - Method in class org.springframework.core. NamedInheritableThreadLocal
- toString() - Method in class org.springframework.core. NamedThreadLocal
- toString() - Method in class org.springframework.core. ParameterizedTypeReference
- toString() - Method in class org.springframework.core.style. ToStringCreator
-
Return the String representation that this ToStringCreator built.
- toString() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- toString() - Method in class org.springframework.util.comparator. BooleanComparator
- toString() - Method in class org.springframework.util.comparator. CompoundComparator
- toString() - Method in class org.springframework.util.comparator. InvertibleComparator
- toString() - Method in class org.springframework.util.comparator. NullSafeComparator
- toString() - Method in class org.springframework.util. ConcurrentReferenceHashMap.Entry
- toString() - Method in class org.springframework.util. LinkedMultiValueMap
- toString() - Method in class org.springframework.util. StopWatch
-
Return an informative string describing all tasks performed For custom reporting, call
getTaskInfo()
and use the task info directly. - toStringArray(Collection<String>) - Static method in class org.springframework.util. StringUtils
-
Copy the given Collection into a String array.
- toStringArray(Enumeration<String>) - Static method in class org.springframework.util. StringUtils
-
Copy the given Enumeration into a String array.
- ToStringCreator - Class in org.springframework.core.style
-
Utility class that builds pretty-printing
toString()
methods with pluggable styling conventions. - ToStringCreator(Object) - Constructor for class org.springframework.core.style. ToStringCreator
-
Create a ToStringCreator for the given object.
- ToStringCreator(Object, ValueStyler) - Constructor for class org.springframework.core.style. ToStringCreator
-
Create a ToStringCreator for the given object, using the provided style.
- ToStringCreator(Object, ToStringStyler) - Constructor for class org.springframework.core.style. ToStringCreator
-
Create a ToStringCreator for the given object, using the provided style.
- ToStringStyler - Interface in org.springframework.core.style
-
A strategy interface for pretty-printing
toString()
methods. - toURI(URL) - Static method in class org.springframework.util. ResourceUtils
-
Create a URI instance for the given URL, replacing spaces with "%20" URI encoding first.
- toURI(String) - Static method in class org.springframework.util. ResourceUtils
-
Create a URI instance for the given location String, replacing spaces with "%20" URI encoding first.
- TraceClassVisitor - Class in org.springframework.asm.util
-
Dummy implementation of missing TraceClassVisitor from cglib-nodep's internally repackaged ASM library, added to avoid NoClassDefFoundErrors.
- TraceClassVisitor(Object, PrintWriter) - Constructor for class org.springframework.asm.util. TraceClassVisitor
- transform(ClassGenerator) - Method in class org.springframework.cglib.transform.impl. MemorySafeUndeclaredThrowableStrategy
- TransformerUtils - Class in org.springframework.util.xml
-
Contains common behavior relating to
Transformers
, and thejavax.xml.transform
package in general. - TransformerUtils() - Constructor for class org.springframework.util.xml. TransformerUtils
- transformIfNecessary(String, byte[]) - Method in class org.springframework.core. OverridingClassLoader
-
Transformation hook to be implemented by subclasses.
- trimAllWhitespace(String) - Static method in class org.springframework.util. StringUtils
-
Trim all whitespace from the given String: leading, trailing, and in between characters.
- trimArrayElements(String[]) - Static method in class org.springframework.util. StringUtils
-
Trim the elements of the given String array, calling
String.trim()
on each of them. - trimLeadingCharacter(String, char) - Static method in class org.springframework.util. StringUtils
-
Trim all occurrences of the supplied leading character from the given String.
- trimLeadingWhitespace(String) - Static method in class org.springframework.util. StringUtils
-
Trim leading whitespace from the given String.
- trimTrailingCharacter(String, char) - Static method in class org.springframework.util. StringUtils
-
Trim all occurrences of the supplied trailing character from the given String.
- trimTrailingWhitespace(String) - Static method in class org.springframework.util. StringUtils
-
Trim trailing whitespace from the given String.
- trimWhitespace(String) - Static method in class org.springframework.util. StringUtils
-
Trim leading and trailing whitespace from the given String.
- TRUE_HIGH - Static variable in class org.springframework.util.comparator. BooleanComparator
-
A shared default instance of this comparator, treating true higher than false.
- TRUE_LOW - Static variable in class org.springframework.util.comparator. BooleanComparator
-
A shared default instance of this comparator, treating true lower than false.
- TypeDescriptor - Class in org.springframework.core.convert
-
Context about a type to convert from or to.
- TypeDescriptor(MethodParameter) - Constructor for class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor from a
MethodParameter
. - TypeDescriptor(Field) - Constructor for class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor from a
Field
. - TypeDescriptor(Property) - Constructor for class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor from a
Property
. - TypeFilter - Interface in org.springframework.core.type.filter
-
Base interface for type filters using a
MetadataReader
. - TypeUtils - Class in org.springframework.util
-
Utility to work with Java 5 generic type parameters.
- TypeUtils() - Constructor for class org.springframework.util. TypeUtils
U
- UNBOUNDED_CONCURRENCY - Static variable in class org.springframework.core.task. SimpleAsyncTaskExecutor
-
Permit any number of concurrent invocations: that is, don't throttle concurrency.
- UNBOUNDED_CONCURRENCY - Static variable in class org.springframework.util. ConcurrencyThrottleSupport
-
Permit any number of concurrent invocations: that is, don't throttle concurrency.
- uncapitalize(String) - Static method in class org.springframework.util. StringUtils
-
Uncapitalize a
String
, changing the first letter to lower case as perCharacter.toLowerCase(char)
. - under(Class) - Method in interface org.springframework.core. ControlFlow
-
Detect whether we're under the given class, according to the current stack trace.
- under(Class, String) - Method in interface org.springframework.core. ControlFlow
-
Detect whether we're under the given class and method, according to the current stack trace.
- underToken(String) - Method in interface org.springframework.core. ControlFlow
-
Detect whether the current stack trace contains the given token.
- unescape(String) - Method in class org.springframework.util. DefaultPropertiesPersister
- unmodifiableMultiValueMap(MultiValueMap<? extends K, ? extends V>) - Static method in class org.springframework.util. CollectionUtils
-
Returns an unmodifiable view of the specified multi-value map.
- unqualify(String) - Static method in class org.springframework.util. StringUtils
-
Unqualify a string qualified by a '.' dot character.
- unqualify(String, char) - Static method in class org.springframework.util. StringUtils
-
Unqualify a string qualified by a separator character.
- upcast(Class<?>) - Method in class org.springframework.core.convert. TypeDescriptor
-
Cast this
TypeDescriptor
to a superclass or implemented interface preserving annotations and nested type context. - URL_PROTOCOL_CODE_SOURCE - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for an entry from an OC4J jar file: "code-source"
- URL_PROTOCOL_FILE - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for a file in the file system: "file"
- URL_PROTOCOL_JAR - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for an entry from a jar file: "jar"
- URL_PROTOCOL_VFS - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for a general JBoss VFS resource: "vfs"
- URL_PROTOCOL_VFSFILE - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for a JBoss file system resource: "vfsfile"
- URL_PROTOCOL_VFSZIP - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for an entry from a JBoss jar file: "vfszip"
- URL_PROTOCOL_WSJAR - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for an entry from a WebSphere jar file: "wsjar"
- URL_PROTOCOL_ZIP - Static variable in class org.springframework.util. ResourceUtils
-
URL protocol for an entry from a zip file: "zip"
- UrlResource - Class in org.springframework.core.io
-
Resource
implementation forjava.net.URL
locators. - UrlResource(URI) - Constructor for class org.springframework.core.io. UrlResource
-
Create a new UrlResource based on the given URI object.
- UrlResource(URL) - Constructor for class org.springframework.core.io. UrlResource
-
Create a new UrlResource based on the given URL object.
- UrlResource(String) - Constructor for class org.springframework.core.io. UrlResource
-
Create a new UrlResource based on a URL path.
- UrlResource(String, String) - Constructor for class org.springframework.core.io. UrlResource
-
Create a new UrlResource based on a URI specification.
- UrlResource(String, String, String) - Constructor for class org.springframework.core.io. UrlResource
-
Create a new UrlResource based on a URI specification.
- useCachesIfNecessary(URLConnection) - Static method in class org.springframework.util. ResourceUtils
-
Set the
"useCaches"
flag on the given connection, preferringfalse
but leaving the flag attrue
for JNLP based resources. - USER_DECLARED_METHODS - Static variable in class org.springframework.util. ReflectionUtils
-
Pre-built MethodFilter that matches all non-bridge methods which are not declared on
java.lang.Object
. - useWeakValue(K, V) - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.Decide whether to use a weak reference for the value of the given key-value pair.
V
- validateProfile(String) - Method in class org.springframework.core.env. AbstractEnvironment
-
Validate the given profile, called internally prior to adding to the set of active or default profiles.
- validateRequiredProperties() - Method in class org.springframework.core.env. AbstractEnvironment
- validateRequiredProperties() - Method in class org.springframework.core.env. AbstractPropertyResolver
- validateRequiredProperties() - Method in interface org.springframework.core.env. ConfigurablePropertyResolver
-
Validate that each of the properties specified by
ConfigurablePropertyResolver.setRequiredProperties(java.lang.String...)
is present and resolves to a non-null
value. - VALIDATION_AUTO - Static variable in class org.springframework.util.xml. XmlValidationModeDetector
-
Indicates that the validation mode should be auto-guessed, since we cannot find a clear indication (probably choked on some special characters, or the like).
- VALIDATION_DTD - Static variable in class org.springframework.util.xml. XmlValidationModeDetector
-
Indicates that DTD validation should be used (we found a "DOCTYPE" declaration).
- VALIDATION_NONE - Static variable in class org.springframework.util.xml. XmlValidationModeDetector
-
Indicates that the validation should be disabled.
- VALIDATION_XSD - Static variable in class org.springframework.util.xml. XmlValidationModeDetector
-
Indicates that XSD validation should be used (found no "DOCTYPE" declaration).
- VALUE_SEPARATOR - Static variable in class org.springframework.util. SystemPropertyUtils
-
Value separator for system property placeholders: ":"
- valueOf(Class<?>) - Static method in class org.springframework.core.convert. TypeDescriptor
-
Create a new type descriptor from the given type.
- valueOf(String) - Static method in enum org.springframework.util. ConcurrentReferenceHashMap.ReferenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.util. ConcurrentReferenceHashMap.Restructure
-
Returns the enum constant of this type with the specified name.
- values() - Method in class org.springframework.util. CachingMapDecorator
-
Deprecated.
- values() - Static method in enum org.springframework.util. ConcurrentReferenceHashMap.ReferenceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.util. ConcurrentReferenceHashMap.Restructure
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.springframework.util. LinkedMultiValueMap
- ValueStyler - Interface in org.springframework.core.style
-
Strategy that encapsulates value String styling algorithms according to Spring conventions.
- VfsResource - Class in org.springframework.core.io
-
VFS based
Resource
implementation. - VfsResource(Object) - Constructor for class org.springframework.core.io. VfsResource
- VfsUtils - Class in org.springframework.core.io
-
Utility for detecting the JBoss VFS version available in the classpath.
- VfsUtils() - Constructor for class org.springframework.core.io. VfsUtils
- VIRTUAL_FILE_METHOD_VISIT - Static variable in class org.springframework.core.io. VfsUtils
- VIRTUAL_FILE_VISITOR_INTERFACE - Static variable in class org.springframework.core.io. VfsUtils
W
- warning(SAXParseException) - Method in class org.springframework.util.xml. SimpleSaxErrorHandler
- warning(TransformerException) - Method in class org.springframework.util.xml. SimpleTransformErrorListener
- WeakReferenceMonitor - Class in org.springframework.util
-
Track references to arbitrary objects using proxy and weak references.
- WeakReferenceMonitor() - Constructor for class org.springframework.util. WeakReferenceMonitor
- WeakReferenceMonitor.ReleaseListener - Interface in org.springframework.util
-
Listener that is notified when the handle is being released.
- WritableResource - Interface in org.springframework.core.io
-
Extended interface for a resource that supports writing to it.
- write(char) - Method in class org.springframework.util. CommonsLogWriter
- write(char[], int, int) - Method in class org.springframework.util. CommonsLogWriter
X
- XML_FILE_EXTENSION - Static variable in class org.springframework.util. Log4jConfigurer
-
Extension that indicates a log4j XML config file: ".xml"
- XmlValidationModeDetector - Class in org.springframework.util.xml
-
Detects whether an XML stream is using DTD- or XSD-based validation.
- XmlValidationModeDetector() - Constructor for class org.springframework.util.xml. XmlValidationModeDetector