|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iglu.net.BlackList
Implements a black list for use in servers. A "blacklist" specifies sites that should be ignored by the server. Must use caps for the entries.
Field Summary | |
protected java.util.LinkedList |
blackList
the black list |
Constructor Summary | |
BlackList()
constructor. |
|
BlackList(java.util.LinkedList nll)
constructor |
Method Summary | |
boolean |
blackListed(java.lang.String title,
java.lang.String url,
java.lang.String content)
returns true if the item should be blacklisted |
java.util.LinkedList |
getBlackList()
returns the black list |
static java.util.LinkedList |
getStandardBlackList()
This is a standard list of situations in which you should blacklist a site. |
void |
setBlackList(java.util.LinkedList bl)
sets the black list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.LinkedList blackList
Constructor Detail |
public BlackList()
public BlackList(java.util.LinkedList nll)
nll
- Method Detail |
public static java.util.LinkedList getStandardBlackList()
public java.util.LinkedList getBlackList()
public void setBlackList(java.util.LinkedList bl)
bl
- public boolean blackListed(java.lang.String title, java.lang.String url, java.lang.String content)
title
- url
- content
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |