public class ChainingResourceFilter extends Object implements ResourceFilter
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private List<ResourceFilter> |
resourceFilters
Registered resource filters.
|
| Constructor and Description |
|---|
ChainingResourceFilter(List<ResourceFilter> filters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
applyFilter(InputStream resource)
Applies this filter to the given stream.
|
private org.slf4j.Logger log
private List<ResourceFilter> resourceFilters
public ChainingResourceFilter(List<ResourceFilter> filters)
filters - resource filters to execute in orderpublic InputStream applyFilter(InputStream resource) throws ResourceException
applyFilter in interface ResourceFilterresource - Resource to which the filter should apply.ResourceException - thrown is there if a problem applying the filterCopyright © 1999-2015. All Rights Reserved.