- 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 of sourceType can be converted to the targetType.
- canConvert(TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert.ConversionService
-
Return true if objects of sourceType can be converted to the targetType.
- canConvert(Class<?>, Class<?>) - Method in class org.springframework.core.convert.support.GenericConversionService
-
- canConvert(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.core.convert.support.GenericConversionService
-
- capitalize(String) - Static method in class org.springframework.util.StringUtils
-
Capitalize a String, changing the first letter to
upper case as per Character.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 "$$"
- CLASS_FILE_SUFFIX - Static variable in class org.springframework.util.ClassUtils
-
The ".class" file suffix
- 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_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 for ClassLoader usage.
- ClassPathResource(String, ClassLoader) - Constructor for class org.springframework.core.io.ClassPathResource
-
Create a new ClassPathResource for ClassLoader usage.
- ClassPathResource(String, Class<?>) - Constructor for class org.springframework.core.io.ClassPathResource
-
Create a new ClassPathResource for Class usage.
- ClassPathResource(String, ClassLoader, Class<?>) - Constructor for class org.springframework.core.io.ClassPathResource
-
Create a new ClassPathResource with optional ClassLoader
and 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.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
-
- 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
-
- 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.
- ComparableComparator<T extends java.lang.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(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
-
- 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.
- ConcurrentMap - Interface in org.springframework.core
-
Deprecated.
since standard ConcurrentMap
is available on Android 2.3
- ConcurrentReferenceHashMap<K,V> - Class in org.springframework.util
-
A
ConcurrentHashMap that uses
soft or
weak references for both
keys and
values.
- 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
-
- ConcurrentReferenceHashMap.ReferenceManager - Class in org.springframework.util
-
- 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
-
- ConditionalGenericConverter - Interface in org.springframework.core.convert.converter
-
- ConfigurableConversionService - Interface in org.springframework.core.convert.support
-
Configuration interface to be implemented by most if not all
ConversionService
types.
- 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(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.
- containsAny(Collection, Collection) - Static method in class org.springframework.util.CollectionUtils
-
Return true if any element in 'candidates' is
contained in 'source'; otherwise returns false.
- 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.ConcurrentReferenceHashMap
-
- containsKey(Object) - Method in class org.springframework.util.LinkedCaseInsensitiveMap
-
- containsKey(Object) - Method in class org.springframework.util.LinkedMultiValueMap
-
- 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.AssetResource
-
This implementation checks the length of the underlying AssetFileDescriptor, if available.
- 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.
- 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.
- ConversionServiceFactory - Class in org.springframework.core.convert.support
-
- 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 specified targetType.
- convert(Object, TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert.ConversionService
-
Convert the given source to the specified targetType.
- 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.
- 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
-
- ConvertingComparator(Comparator<T>, Converter<S, T>) - Constructor for class org.springframework.core.convert.converter.ConvertingComparator
-
- ConvertingComparator(Comparator<T>, ConversionService, Class<? extends T>) - Constructor for class org.springframework.core.convert.converter.ConvertingComparator
-
- ConvertingPropertyEditorAdapter - Class in org.springframework.core.convert.support
-
Adapter that exposes a
PropertyEditor for any given
ConversionService 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.
- 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.
- 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.
- createConcurrentMapIfPossible(int) - Static method in class org.springframework.core.CollectionFactory
-
Deprecated.
- createCopyOnWriteSet() - Static method in class org.springframework.core.CollectionFactory
-
Deprecated.
- createDefaultConversionService() - Static method in class org.springframework.core.convert.support.ConversionServiceFactory
-
- createIdentityMapIfPossible(int) - Static method in class org.springframework.core.CollectionFactory
-
Deprecated.
- createLinkedCaseInsensitiveMapIfPossible(int) - Static method in class org.springframework.core.CollectionFactory
-
Deprecated.
- createLinkedMapIfPossible(int) - Static method in class org.springframework.core.CollectionFactory
-
Deprecated.
- createLinkedSetIfPossible(int) - Static method in class org.springframework.core.CollectionFactory
-
Deprecated.
- 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
-
- createReferenceManager() - Method in class org.springframework.util.ConcurrentReferenceHashMap
-
- 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.
- customizeConnection(URLConnection) - Method in class org.springframework.core.io.AbstractFileResolvingResource
-
- customizeConnection(HttpURLConnection) - Method in class org.springframework.core.io.AbstractFileResolvingResource
-
- 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
-
- 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(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
-
- 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.
- getAnnotation(Class<T>) - Method in class org.springframework.core.convert.TypeDescriptor
-
Obtain the annotation associated with this type descriptor of the specified type.
- getAnnotations() - Method in class org.springframework.core.convert.TypeDescriptor
-
The annotations associated with this type descriptor, if any.
- getAsText() - Method in class org.springframework.core.convert.support.ConvertingPropertyEditorAdapter
-
- getByteArray() - Method in class org.springframework.core.io.ByteArrayResource
-
Return the underlying byte array.
- 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.
- 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.
- 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).
- 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.
- 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.
- getDescription() - Method in class org.springframework.core.io.AssetResource
-
- 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.
- 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
not null; otherwise returns an empty String.
- getElementType() - Method in class org.springframework.core.convert.TypeDescriptor
-
- getElementTypeDescriptor() - Method in class org.springframework.core.convert.TypeDescriptor
-
If this type is an array, returns the array's component type.
- getErrorCode() - Method in exception org.springframework.beans.TypeMismatchException
-
- getErrorCode() - Method in interface org.springframework.core.ErrorCoded
-
Return the error code associated with this failure.
- getField(Field, Object) - Static method in class org.springframework.util.ReflectionUtils
-
Get the field represented by the supplied field object on the
specified target object.
- 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(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(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.
- 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.AssetResource
-
- 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.UrlResource
-
This implementation opens an InputStream for the given URL.
- getKey() - Method in class org.springframework.util.ConcurrentReferenceHashMap.Entry
-
- getLoadFactor() - Method in class org.springframework.util.ConcurrentReferenceHashMap
-
- 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
-
- 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 mapKey
TypeDescriptor 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
-
- 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 mapValue
TypeDescriptor from the provided map value.
- 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.
- 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).
- 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.
- 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
- 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
-
- 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 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.
- 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.
- getPropertyChangeEvent() - Method in exception org.springframework.beans.PropertyAccessException
-
Return the PropertyChangeEvent that resulted in the problem.
- getPropertyName() - Method in exception org.springframework.beans.PropertyAccessException
-
Return the name of the affected property, if available.
- 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.
- 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
-
- getReference(Object, int, ConcurrentReferenceHashMap.Restructure) - Method in class org.springframework.util.ConcurrentReferenceHashMap.Segment
-
- getRequiredType() - Method in exception org.springframework.beans.TypeMismatchException
-
Return the required target type, if any.
- 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
-
- 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.
- getSize() - Method in class org.springframework.util.ConcurrentReferenceHashMap.Segment
-
- 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.
- 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.
- 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.ParameterizedTypeReference
-
- 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
-
Build a mapping of TypeVariable names to
concrete classes for the specified Class.
- 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
-
- 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.
- 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(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() - Method in exception org.springframework.beans.PropertyAccessException
-
Return the affected value that was about to be set, if any.
- getValue() - Method in exception org.springframework.beans.TypeMismatchException
-
Return the offending value (may be null)
- getValue() - Method in exception org.springframework.core.convert.ConversionFailedException
-
Return the offending value.
- getValue() - Method in class org.springframework.util.ConcurrentReferenceHashMap.Entry
-
- getWriteMethod() - Method in class org.springframework.core.convert.Property
-
The property setter method: e.g.
- identityToString(Object) - Static method in class org.springframework.util.ObjectUtils
-
Return a String representation of an object's overall identity.
- increaseNestingLevel() - Method in class org.springframework.core.MethodParameter
-
Increase this parameter's nesting level.
- 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.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
-
- 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.
- 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.
- 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) is true.
- isAssignable(Class<?>, Class<?>, String) - Static method in class org.springframework.util.Assert
-
Assert that superType.isAssignableFrom(subType) is true.
- 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.
- 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.
- 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.
- 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.
- isEmpty(Collection) - Static method in class org.springframework.util.CollectionUtils
-
Return true if the supplied Collection is null
or empty.
- isEmpty(Map) - Static method in class org.springframework.util.CollectionUtils
-
Return true if the supplied Map is null
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.
- 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".
- isHashCodeMethod(Method) - Static method in class org.springframework.util.ReflectionUtils
-
Determine whether the given method is a "hashCode" method.
- 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.
- 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.
- isPresent(String) - Static method in class org.springframework.util.ClassUtils
-
- 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.
- 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.
- 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 is false.
- isTrue(boolean) - Static method in class org.springframework.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException
if the test result is false.
- 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.
- 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.
- 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 calling
close() has no effect.
- nonClosing(OutputStream) - Static method in class org.springframework.util.StreamUtils
-
Returns a variant of the given OutputStream where calling
close() 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 are null or false if only one is
null.
- 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
-