com.limegroup.gnutella.settings
Class FilterSettings

java.lang.Object
  extended bycom.limegroup.gnutella.settings.AbstractSettings
      extended bycom.limegroup.gnutella.settings.LimeProps
          extended bycom.limegroup.gnutella.settings.FilterSettings

public class FilterSettings
extends LimeProps

Settings for filters


Field Summary
static StringArraySetting BANNED_WORDS
          An array of words that the user has banned from appearing in search results.
static StringArraySetting BLACK_LISTED_IP_ADDRESSES
          An array of ip addresses that the user has banned.
static BooleanSetting FILTER_ADULT
          Sets whether or not search results including "adult content" are banned.
static BooleanSetting FILTER_DUPLICATES
          Sets whether or not duplicate search results are banned.
static BooleanSetting FILTER_GREEDY_QUERIES
          Sets whether or not greedy queries a filtered.
static BooleanSetting FILTER_HIGHBIT_QUERIES
          Sets whether or not high bit queries a filtered.
static BooleanSetting FILTER_HTML
          Sets whether or not search results including HTML are banned.
static BooleanSetting FILTER_VBS
          Sets whether or not search results including VBS are banned.
static StringArraySetting WHITE_LISTED_IP_ADDRESSES
          An array of ip addresses that the user has allowed.
 
Fields inherited from class com.limegroup.gnutella.settings.LimeProps
FACTORY
 
Methods inherited from class com.limegroup.gnutella.settings.LimeProps
instance
 
Methods inherited from class com.limegroup.gnutella.settings.AbstractSettings
getFactory, getProperties, getPropertiesFile, getShouldSave, reload, revertToDefault, save, setShouldSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_ADULT

public static final BooleanSetting FILTER_ADULT
Sets whether or not search results including "adult content" are banned.


FILTER_VBS

public static final BooleanSetting FILTER_VBS
Sets whether or not search results including VBS are banned.


FILTER_HTML

public static final BooleanSetting FILTER_HTML
Sets whether or not search results including HTML are banned.


FILTER_DUPLICATES

public static final BooleanSetting FILTER_DUPLICATES
Sets whether or not duplicate search results are banned.


FILTER_GREEDY_QUERIES

public static final BooleanSetting FILTER_GREEDY_QUERIES
Sets whether or not greedy queries a filtered.


FILTER_HIGHBIT_QUERIES

public static final BooleanSetting FILTER_HIGHBIT_QUERIES
Sets whether or not high bit queries a filtered.


BLACK_LISTED_IP_ADDRESSES

public static final StringArraySetting BLACK_LISTED_IP_ADDRESSES
An array of ip addresses that the user has banned.


WHITE_LISTED_IP_ADDRESSES

public static final StringArraySetting WHITE_LISTED_IP_ADDRESSES
An array of ip addresses that the user has allowed. (Array of String!)


BANNED_WORDS

public static final StringArraySetting BANNED_WORDS
An array of words that the user has banned from appearing in search results.