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 boolean
filter(Map<String,Object> filteredMap)
int
ingestJson(String filterParam)
void
setFilterMap(Map<String,Object> filterMap)
String
toString()
-
-
-
Method Detail
-
ingestJson
public int ingestJson(String filterParam) throws JSONException
- Parameters:
filterParam
-- Returns:
- number of added filtered keys
- Throws:
JSONException
-
-