prupp.filter
Class BackgroundFilter

java.lang.Object
  |
  +--prupp.filter.Filter
        |
        +--prupp.filter.BackgroundFilter

public class BackgroundFilter
extends Filter

Remove background images from pages.


Constructor Summary
BackgroundFilter()
          constructor
 
Method Summary
 java.lang.String filter(HTMLBlock block)
          Filter away backgroundimges(found in the body-tag) on webpages.
static java.util.Properties getProperties()
          Called when you want to get the possible settings this filter support.
static void setup(java.util.Properties properties)
          Called when you want to setup how this filter should work.
 
Methods inherited from class prupp.filter.Filter
isString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackgroundFilter

public BackgroundFilter()
constructor
Method Detail

filter

public java.lang.String filter(HTMLBlock block)
Filter away backgroundimges(found in the body-tag) on webpages.
Parameters:
block - the HTMLBlock were about to filter.
Returns:
the uncertain area of the block.
Overrides:
filter in class Filter

setup

public static void setup(java.util.Properties properties)
Called when you want to setup how this filter should work.
Parameters:
properties - the properties to use.

getProperties

public static java.util.Properties getProperties()
Called when you want to get the possible settings this filter support.