Class FiltersManager

java.lang.Object
org.orekit.data.FiltersManager

public class FiltersManager extends Object
Manager for data filters.

This manager holds a set of filters and applies all the relevant ones by building a stack that transforms a raw DataSource into a processed DataSource.

Since:
11.0
Author:
Luc Maisonobe
See Also:
  • Constructor Details

    • FiltersManager

      public FiltersManager()
      Build an empty manager.
  • Method Details

    • addFilter

      public void addFilter(DataFilter filter)
      Add a data filter.
      Parameters:
      filter - filter to add
      See Also:
    • clearFilters

      public void clearFilters()
      Remove all data filters.
      See Also:
    • applyRelevantFilters

      public DataSource applyRelevantFilters(DataSource original)
      Apply all the relevant data filters, taking care of layers.

      If several filters can be applied, they will all be applied as a stack, even recursively if required. This means that if filter A applies to files with names of the form base.ext.a and filter B applies to files with names of the form base.ext.b, then providing base.ext.a.b.a will result in filter A being applied on top of filter B which itself is applied on top of another instance of filter A.

      Parameters:
      original - original data source
      Returns:
      fully filtered data source
      Since:
      9.2
      See Also: