Package org.orekit.data
Class FiltersManager
java.lang.Object
org.orekit.data.FiltersManager
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(DataFilter filter) Add a data filter.applyRelevantFilters(DataSource original) Apply all the relevant data filters, taking care of layers.voidRemove all data filters.
-
Constructor Details
-
FiltersManager
public FiltersManager()Build an empty manager.
-
-
Method Details
-
addFilter
Add a data filter.- Parameters:
filter- filter to add- See Also:
-
clearFilters
public void clearFilters()Remove all data filters.- See Also:
-
applyRelevantFilters
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:
-