org.opensaml.util.resource
Interface ResourceFilter
- All Known Implementing Classes:
- ChainingResourceFilter, PropertyReplacementResourceFilter
public interface ResourceFilter
Filter that operates over a resource. Filters may perform any logic on the incoming stream.
Method Summary |
java.io.InputStream |
applyFilter(java.io.InputStream resource)
Applies this filter to the given stream. |
applyFilter
java.io.InputStream applyFilter(java.io.InputStream resource)
throws ResourceException
- Applies this filter to the given stream.
- Parameters:
resource
- Resource to which the filter should apply.
- Returns:
- filtered stream
- Throws:
ResourceException
- thrown is there if a problem applying the filter
Copyright © 2006-2011 Internet2. All Rights Reserved.