public class KeepPropertiesBeanFilter
JSONFilter,
IBeanFilter| Constructor and Description |
|---|
KeepPropertiesBeanFilter(java.util.Collection propsToKeep)
List of properties to keep.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
filter(java.lang.Object o)
This method is called to filter a bean (IBeanFilter Interface).
|
public KeepPropertiesBeanFilter(java.util.Collection propsToKeep)
public java.util.Map filter(java.lang.Object o)
throws java.lang.Exception
obj - the bean to convertjava.lang.Exception