public class RenamingFilter extends Object implements TrendingFilter
| Constructor and Description |
|---|
RenamingFilter(Collection<String[]> entries)
Constructs the filter.
|
RenamingFilter(Map<TrendingChannel,String> nameMap)
Constructs the filter.
|
| Modifier and Type | Method and Description |
|---|---|
TrendingSource |
filter(TrendingSource source)
Applies the filter.
|
public RenamingFilter(Map<TrendingChannel,String> nameMap)
nameMap - Map of channels available from the source produced by this filter to original paths.public RenamingFilter(Collection<String[]> entries)
entries - Mapping of original paths to filtered path and titles.public TrendingSource filter(TrendingSource source)
filter in interface TrendingFiltersource - The original source.Copyright © 2018 LSST. All rights reserved.