mailpuccino
Class RegularFilterRule

java.lang.Object
  extended bymailpuccino.RegularFilterRule
All Implemented Interfaces:
ComponentType, FilterRule

public class RegularFilterRule
extends java.lang.Object
implements FilterRule


Nested Class Summary
(package private) static class RegularFilterRule.FilterConfigInterface
           
 
Field Summary
(package private) static java.util.Calendar Cal0
           
(package private) static java.util.Calendar Cal1
           
(package private)  Preferences Config
           
(package private) static java.lang.String[] MSG_PROPERTIES
           
(package private) static java.lang.String[][] MSG_PROPERTY_VARS
           
(package private) static java.lang.String RuleType
           
(package private)  java.util.Date TheDate
           
(package private)  int TheNumber
           
(package private)  int TheProperty
           
(package private)  int ThePropertyVar
           
(package private)  java.lang.String TheUserInput
           
(package private) static java.text.SimpleDateFormat UseFormat
           
 
Constructor Summary
RegularFilterRule()
           
 
Method Summary
 boolean eval(EmailID target)
           
 InterfaceJPanel getConfigInterface()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 void init(Preferences Config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RuleType

static final java.lang.String RuleType
See Also:
Constant Field Values

MSG_PROPERTIES

static final java.lang.String[] MSG_PROPERTIES

MSG_PROPERTY_VARS

static final java.lang.String[][] MSG_PROPERTY_VARS

UseFormat

static java.text.SimpleDateFormat UseFormat

Cal0

static java.util.Calendar Cal0

Cal1

static java.util.Calendar Cal1

Config

Preferences Config

TheProperty

int TheProperty

ThePropertyVar

int ThePropertyVar

TheUserInput

java.lang.String TheUserInput

TheNumber

int TheNumber

TheDate

java.util.Date TheDate
Constructor Detail

RegularFilterRule

public RegularFilterRule()
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface ComponentType

getName

public java.lang.String getName()
Specified by:
getName in interface FilterRule

init

public void init(Preferences Config)
Specified by:
init in interface FilterRule

getConfigInterface

public InterfaceJPanel getConfigInterface()
Specified by:
getConfigInterface in interface FilterRule

eval

public boolean eval(EmailID target)
             throws FolderException,
                    java.io.IOException
Specified by:
eval in interface FilterRule
Throws:
FolderException
java.io.IOException