edu.unika.aifb.rdf.crawler
Class HostFilter

java.lang.Object
  |
  +--edu.unika.aifb.rdf.crawler.HostFilter

public class HostFilter
extends java.lang.Object

The class HostFilter checks whether the URL string belongs to the given set of hosts. HostFilter may be used to narrow the set of downloadable documents


Constructor Summary
HostFilter(java.util.Vector rawhosts)
          Initializes the set of eligible hosts
 
Method Summary
 boolean checkFilter(java.lang.String host)
          Check against the hostname filter
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostFilter

public HostFilter(java.util.Vector rawhosts)
Initializes the set of eligible hosts
Method Detail

checkFilter

public boolean checkFilter(java.lang.String host)
                    throws FilterException
Check against the hostname filter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object