code: public static Filter createFilter(Class<? extends FilterFactory> filterFactoryClass, FilterFactoryParams params)
              throws FilterFactory.FilterNotCreatedException {
          FilterFactory filterFactory = createFilterFactory(filterFactoryClass);
  
          return filterFactory.createFilter(params);
      }
docs: Creates a {@link Filter}.
  
  @param filterFactoryClass The class of the {@link FilterFactory}
  @param params             The arguments to the {@link FilterFactory}