prupp.filter
Class BodyFilter

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

public class BodyFilter
extends Filter

add some text (and if given an url also an noproxy-link) directly after the body-tag.


Constructor Summary
BodyFilter()
          default constructor
BodyFilter(java.net.URL url)
          contruct with an URL to make the link correctly
 
Method Summary
 java.lang.String filter(HTMLBlock block)
          Add a identifier on top of the page.
static java.util.Properties getProperties()
          Called when you want to get the possible settings this filter support.
static void setup(java.util.Properties properties)
          setup of this filter.
 
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

BodyFilter

public BodyFilter()
default constructor

BodyFilter

public BodyFilter(java.net.URL url)
contruct with an URL to make the link correctly
Parameters:
url - the URL of the page.
Method Detail

filter

public java.lang.String filter(HTMLBlock block)
Add a identifier on top of the page.
Parameters:
block - the HTMLBlock were filtering.
Returns:
the uncertain area of the block.
Overrides:
filter in class Filter

setup

public static void setup(java.util.Properties properties)
setup of this filter.
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.