net.sf.okapi.common.filters

## Class DefaultFilters

- java.lang.Object
- - net.sf.okapi.common.filters.DefaultFilters

-     public class DefaultFilters
      extends java.lang.Object

  Helper object to load a default list of filters and their editor information. The list is in the DefaultFilters.properties file.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultFilters()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `setMappings(IFilterConfigurationMapper fcMapper, boolean reset, boolean addConfigurations)` Add the default mappings provided in the DefaultFilters.properties file.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultFilters

          public DefaultFilters()

  - ### Method Detail

    - #### setMappings

          public static void setMappings(IFilterConfigurationMapper fcMapper,
                                         boolean reset,
                                         boolean addConfigurations)

      Add the default mappings provided in the DefaultFilters.properties file.
      Parameters:
        `fcMapper` - the mapper where to add the mapping.
        `reset` - true to clear all filters, editors and dec descriptions in the mapper before setting the new ones.
        `addConfigurations` - true to add the filters configurations, false to add only the parameters editors and UI descriptions.