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
 InputStream applyFilter(InputStream resource)
          Applies this filter to the given stream.
 

Method Detail

applyFilter

InputStream applyFilter(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-2013 Internet2. All Rights Reserved.