public class BeanMatcher extends Object
Constructor and Description |
---|
BeanMatcher() |
Modifier and Type | Method and Description |
---|---|
static Collection<Object> |
filter(Filter filter,
Collection<Object> list,
boolean ifEmpty,
PropertyEditorRegistry registry) |
static void |
filter(Filter filter,
Collection<Object> list,
Collection<Object> targetCollection,
boolean ifEmpty,
PropertyEditorRegistry registry) |
protected static PropertyDescriptor |
getProperyDescriptor(Class<?> clazz,
String name) |
protected static Object |
getValue(Method readMethod,
Object object) |
static boolean |
matches(Filter filter,
Object object,
boolean ifEmpty,
PropertyEditorRegistry registry) |
public static boolean matches(Filter filter, Object object, boolean ifEmpty, PropertyEditorRegistry registry)
public static Collection<Object> filter(Filter filter, Collection<Object> list, boolean ifEmpty, PropertyEditorRegistry registry)
public static void filter(Filter filter, Collection<Object> list, Collection<Object> targetCollection, boolean ifEmpty, PropertyEditorRegistry registry)
protected static Object getValue(Method readMethod, Object object) throws Exception
Exception
protected static PropertyDescriptor getProperyDescriptor(Class<?> clazz, String name) throws Exception
Exception