|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.util.resource.AbstractFilteredResource
public abstract class AbstractFilteredResource
A Resource whose contents may be run through a filter as it is being read.
| Constructor Summary | |
|---|---|
protected |
AbstractFilteredResource()
Constructor. |
protected |
AbstractFilteredResource(ResourceFilter filter)
Deprecated. use setResourceFilter(ResourceFilter) instead |
| Method Summary | |
|---|---|
protected InputStream |
applyFilter(InputStream stream)
Applies the filter to the given stream resulting in the returned stream. |
ResourceFilter |
getResourceFilter()
Gets the resource filter associated with this resource. |
void |
setResourceFilter(ResourceFilter filter)
Sets the resource filter associated with this resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.util.resource.Resource |
|---|
exists, getInputStream, getLastModifiedTime, getLocation |
| Constructor Detail |
|---|
protected AbstractFilteredResource()
protected AbstractFilteredResource(ResourceFilter filter)
setResourceFilter(ResourceFilter) instead
filter - the filter used on the resource| Method Detail |
|---|
public ResourceFilter getResourceFilter()
public void setResourceFilter(ResourceFilter filter)
filter - filter associated with this resource
protected InputStream applyFilter(InputStream stream)
throws ResourceException
stream - the stream to filter
ResourceException - thrown if the filter can not be applied to the stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||