org.apache.jsieve.tests.optional
Class Envelope
java.lang.Object
org.apache.jsieve.tests.AbstractTest
org.apache.jsieve.tests.AbstractCompatatorTest
org.apache.jsieve.tests.optional.Envelope
- All Implemented Interfaces:
- ExecutableTest
public class Envelope
- extends AbstractCompatatorTest
Class Envelope implements the optional Envelope Test as defined in RFC 3028,
section 5.4.
Constructor Summary |
Envelope()
Constructor for EnvelopeAccessors. |
Method Summary |
protected java.util.List<java.lang.String> |
getMatchingValues(MailAdapter mail,
java.lang.String valueName)
|
protected boolean |
match(MailAdapter mail,
java.lang.String addressPart,
java.lang.String comparator,
java.lang.String matchType,
java.lang.String headerName,
java.lang.String key,
SieveContext context)
Method match. |
protected boolean |
match(java.lang.String addressPart,
java.lang.String comparator,
java.lang.String matchType,
java.lang.String headerValue,
java.lang.String key,
SieveContext context)
Method match. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Envelope
public Envelope()
- Constructor for EnvelopeAccessors.
getMatchingValues
protected java.util.List<java.lang.String> getMatchingValues(MailAdapter mail,
java.lang.String valueName)
throws SieveMailException
- Throws:
SieveMailException
match
protected boolean match(java.lang.String addressPart,
java.lang.String comparator,
java.lang.String matchType,
java.lang.String headerValue,
java.lang.String key,
SieveContext context)
throws SieveException
- Method match.
- Parameters:
addressPart
- comparator
- matchType
- headerValue
- key
- context
- not null
- Returns:
- boolean
- Throws:
SieveMailException
SieveException
match
protected boolean match(MailAdapter mail,
java.lang.String addressPart,
java.lang.String comparator,
java.lang.String matchType,
java.lang.String headerName,
java.lang.String key,
SieveContext context)
throws SieveException
- Description copied from class:
AbstractCompatatorTest
- Method match.
- Specified by:
match
in class AbstractCompatatorTest
context
- not null
- Returns:
- boolean
- Throws:
SieveMailException
SieveException
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.