org.apache.ws.commons.tcpmon.core.filter.mime
Class ChainedContentFilterFactory

java.lang.Object
  extended by org.apache.ws.commons.tcpmon.core.filter.mime.ChainedContentFilterFactory
All Implemented Interfaces:
ContentFilterFactory

public class ChainedContentFilterFactory
extends Object
implements ContentFilterFactory


Constructor Summary
ChainedContentFilterFactory()
           
 
Method Summary
 void add(ContentFilterFactory factory)
           
 StreamFilter[] getContentFilterChain(javax.activation.MimeType contentType)
          Get a new filter (chain) for the given content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedContentFilterFactory

public ChainedContentFilterFactory()
Method Detail

add

public void add(ContentFilterFactory factory)

getContentFilterChain

public StreamFilter[] getContentFilterChain(javax.activation.MimeType contentType)
Description copied from interface: ContentFilterFactory
Get a new filter (chain) for the given content type.

Specified by:
getContentFilterChain in interface ContentFilterFactory
Parameters:
contentType - the content type
Returns:
the filters to apply to the content or null (or an empty array) if no filter should be applied


Copyright © The Apache Software Foundation. All Rights Reserved.