org.erowid.sperowider.urlfilter
Interface IDownloadFilter

All Known Subinterfaces:
ISperowiderFilter
All Known Implementing Classes:
BlocksAllFilter, NoHopRegexSperowiderFilter, NoHopSimpleSperowiderFilter, OneHopRegexSperowiderFilter, OneHopSimpleSperowiderFilter

public interface IDownloadFilter

A filter for indicating if a Url should be downloaded.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/urlfilter/IDownloadFilter.java,v 1.2 2005/01/16 06:47:26 gurustu Exp $
Author:
: $Author: gurustu $

Method Summary
 boolean downloadMatch(String url)
          Given a URL, returns true if that URL should be downloaded.
 

Method Detail

downloadMatch

public boolean downloadMatch(String url)
Given a URL, returns true if that URL should be downloaded. This is run with a final URL that is in the actual process of being downloaded, after all redirects have been done. There's a possibility that MIME and other kinds of filtering could be done here.


spero logo small Sperowider is
© 2005 Erowid.org