public class ChainingResourceFilter extends Object implements ResourceFilter
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.
|
public ChainingResourceFilter(List<ResourceFilter> filters)
filters
- resource filters to execute in orderpublic InputStream applyFilter(InputStream resource) throws ResourceException
applyFilter
in interface ResourceFilter
resource
- Resource to which the filter should apply.ResourceException
- thrown is there if a problem applying the filterCopyright © 2018 JBoss by Red Hat. All rights reserved.