KickJava   Java API By Example, From Geeks To Geeks.

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


1 package net.suberic.pooka.filter;
2 import javax.mail.*;
3 import javax.mail.search.*;
4 import net.suberic.pooka.*;
5 import net.suberic.pooka.cache.*;
6
7 /**
8  * This is a SearchTerm which checks for messages that are in the process
9  * of being removed.
10  *
11  * This is actually just a place holder and a big hack. sigh.
12  */

13 public class DeleteInProgressSearchTerm extends SearchTerm {
14
15   /**
16    * Creates the given DeleteInProgressSearchTerm.
17    */

18   public DeleteInProgressSearchTerm () {
19   }
20
21   /**
22    * Checks to see if the given Message is being removed or not.
23    */

24   public boolean match(Message m) {
25     return false;
26   }
27 }
28
Popular Tags