Java org.springframework.beans BeanUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans BeanUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans BeanUtils.

The text is from its open source code.

Subclass

org.springframework.beans.BeanUtils has subclasses.
Click this link to see all its subclasses.

Method

voidcopyProperties(Object source, Object target)
Copy the property values of the given source bean into the target bean.
voidcopyProperties(Object source, Object target, Class editable)
Copy the property values of the given source bean into the given target bean, only setting properties defined in the given "editable" class (or interface).
voidcopyProperties(Object source, Object target, String... ignoreProperties)
Copy the property values of the given source bean into the given target bean, ignoring the given "ignoreProperties".
voidcopyProperties(Object source, Object target, @Nullable Class editable, @Nullable String... ignoreProperties)
Copy the property values of the given source bean into the given target bean.
MethodfindDeclaredMethod(Class clazz, String methodName, Class... paramTypes)
Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.
MethodfindDeclaredMethodWithMinimalParameters(Class clazz, String methodName)
Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.
PropertyEditorfindEditorByConvention(@Nullable Class targetType)
Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (e.g.
MethodfindMethod(Class clazz, String methodName, Class... paramTypes)
Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.
MethodfindMethodWithMinimalParameters(Class clazz, String methodName)
Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.
MethodfindMethodWithMinimalParameters(Method[] methods, String methodName)
Find a method with the given method name and minimal parameters (best case: none) in the given list of methods.
ConstructorfindPrimaryConstructor(Class clazz)
Return the primary constructor of the provided class.
PropertyDescriptorfindPropertyForMethod(Method method)
Find a JavaBeans PropertyDescriptor for the given method, with the method either being the read method or the write method for that bean property.
PropertyDescriptorfindPropertyForMethod(Method method, Class clazz)
Find a JavaBeans PropertyDescriptor for the given method, with the method either being the read method or the write method for that bean property.
ClassfindPropertyType(String propertyName, @Nullable Class... beanClasses)
Determine the bean property type for the given property from the given classes/interfaces, if possible.
PropertyDescriptorgetPropertyDescriptor(Class clazz, String propertyName)
Retrieve the JavaBeans PropertyDescriptors for the given property.
PropertyDescriptor[]getPropertyDescriptors(Class clazz)
Retrieve the JavaBeans PropertyDescriptor s of a given class.
MethodParametergetWriteMethodParameter(PropertyDescriptor pd)
Obtain a new MethodParameter object for the write method of the specified property.
Tinstantiate(Class clazz)
Convenience method to instantiate a class using its no-arg constructor.
TinstantiateClass(Class clazz)
Instantiate a class using its 'primary' constructor (for Kotlin classes, potentially having default arguments declared) or its default constructor (for regular Java classes, expecting a standard no-arg setup).
TinstantiateClass(Class clazz, Class assignableTo)
Instantiate a class using its no-arg constructor and return the new instance as the specified assignable type.
TinstantiateClass(Constructor ctor, Object... args)
Convenience method to instantiate a class using the given constructor.
booleanisSimpleProperty(Class clazz)
Check if the given type represents a "simple" property: a primitive, a String or other CharSequence, a Number, a Date, a Temporal, a URI, a URL, a Locale, a Class, or a corresponding array.
booleanisSimpleValueType(Class clazz)
Check if the given type represents a "simple" value type: a primitive, an enum, a String or other CharSequence, a Number, a Date, a Temporal, a URI, a URL, a Locale or a Class.
MethodresolveSignature(String signature, Class clazz)
Parse a method signature in the form methodName[([arg_list])] , where arg_list is an optional, comma-separated list of fully-qualified type names, and attempts to resolve that signature against the supplied Class .