com.zion.jbuddy.bots
Class BotPatternSet

java.lang.Object
  extended by com.zion.jbuddy.bots.BotPatternSet

public class BotPatternSet
extends Object

A set of patterns.

See Also:
BotParameter, BotFilter, BotTarget

Method Summary
 void add(Pattern pattern)
          Adds a pattern to this set.
 void clear()
          Removes all patterns from this set.
 Object clone()
          Returns an exact copy of this set.
 List getPatterns()
          Returns a List of patterns in this set.
 boolean matches(String s)
          Returns true if any of the patterns in this set match the specified string.
 void remove(Pattern pattern)
          Removes a pattern from this set.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(Pattern pattern)
Adds a pattern to this set.


getPatterns

public List getPatterns()
Returns a List of patterns in this set.


remove

public void remove(Pattern pattern)
Removes a pattern from this set.


clear

public void clear()
Removes all patterns from this set.


clone

public Object clone()
Returns an exact copy of this set.

Overrides:
clone in class Object

matches

public boolean matches(String s)
Returns true if any of the patterns in this set match the specified string.



JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.