public final class ElementTypeFilter extends Object implements PostProcessing
Filter that removes or keeps only the items of specific types (code) in a given timeline.
Constructor and Description |
---|
ElementTypeFilter(List<String> listCode,
boolean removeAll)
Constructor that uses a list of codes to identify the elements that have to be removed/kept.
|
ElementTypeFilter(String elementCode,
boolean removeAll)
Constructor that uses only one code to identify the elements that have to be removed/kept.
|
public ElementTypeFilter(String elementCode, boolean removeAll)
elementCode
- : code of the elements that have to be removed / keptremoveAll
- : true if the filter consists in removing the specified elements, false if the filter consists in
keeping only the specified elements.public ElementTypeFilter(List<String> listCode, boolean removeAll)
listCode
- : list of codes of the elements that have to be removed / keptremoveAll
- : true if the filter consists in removing the specified elements, false if the filter consists in
keeping only the specified elements.public void applyTo(Timeline list)
applyTo
in interface PostProcessing
list
- : the timeline that has to be processedCopyright © 2019 CNES. All rights reserved.