code: public static void addFilterAndArguments(Configuration conf, Class<? extends Filter> clazz,
        List<String> filterArgs) {
      conf.set(Import.FILTER_CLASS_CONF_KEY, clazz.getName());
      conf.setStrings(Import.FILTER_ARGS_CONF_KEY, filterArgs.toArray(new String[filterArgs.size()]));
    }
docs: Add a Filter to be instantiated on import
  
  @param conf Configuration to update (will be passed to the job)
  @param clazz {@link org.apache.hadoop.hbase.filter.Filter} subclass to instantiate on the server.
  @param filterArgs List of arguments to pass to the filter on instantiation