rabbit.filter
Class LowresImageFilter

java.lang.Object
  |
  +--rabbit.filter.HTMLFilter
        |
        +--rabbit.filter.LowresImageFilter

public class LowresImageFilter
extends HTMLFilter

This filter removes the "lowsrc=some_image.gif" attributes from the <img> tags.


Field Summary
 
Fields inherited from class rabbit.filter.HTMLFilter
request, response
 
Constructor Summary
LowresImageFilter(HTTPHeader request, HTTPHeader response)
          Create a new LowresImageFilter for the given request, response pair.
 
Method Summary
 void filterHTML(HTMLBlock block)
          remove the lowres tags.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowresImageFilter

public LowresImageFilter(HTTPHeader request,
                         HTTPHeader response)
Create a new LowresImageFilter for the given request, response pair.

Parameters:
request - the actual request made.
response - the actual response being sent.
Method Detail

filterHTML

public void filterHTML(HTMLBlock block)
remove the lowres tags.

Specified by:
filterHTML in class HTMLFilter
Parameters:
block - the part of the html page we are filtering.