Package com.day.cq.mcm.api
Class MapFilter
- java.lang.Object
-
- com.day.cq.mcm.api.MapFilter
-
public class MapFilter extends Object
Filters maps by checking if each of a filter map's values is contained in the keys of the filtered map.
-
-
Constructor Summary
Constructors Constructor Description MapFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfilter(Map<String,Object> filteredMap)intingestJson(String filterParam)voidsetFilterMap(Map<String,Object> filterMap)StringtoString()
-
-
-
Method Detail
-
ingestJson
public int ingestJson(String filterParam) throws JSONException
- Parameters:
filterParam-- Returns:
- number of added filtered keys
- Throws:
JSONException
-
-