KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > suberic > pooka > filter > FilterAction


1 package net.suberic.pooka.filter;
2 import net.suberic.pooka.gui.MessageProxy;
3 import java.util.List JavaDoc;
4
5 public interface FilterAction {
6
7     /**
8      * Runs the filterAction on each MessageProxy in the filteredMessages
9      * Vector.
10      *
11      * @param filteredMessages messages which have met the filter condition
12      * and need to have the FilterAction performed on them.
13      *
14      * @return messages which are removed from their original folder
15      * by the filter.
16      */

17     public List JavaDoc performFilter(List JavaDoc filteredMessages);
18
19     /**
20      * Initializes the FilterAction from the sourceProperty given.
21      */

22     
23     public void initializeFilter(String JavaDoc sourceProperty);
24 }
25
Popular Tags