|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mailet.base.GenericMatcher
org.apache.james.transport.matchers.SizeGreaterThan
public class SizeGreaterThan
Checks whether the message (entire message, not just content) is greater than a certain number of bytes. You can use 'k' and 'm' as optional postfixes. In other words, "1m" is the same as writing "1024k", which is the same as "1048576".
| Constructor Summary | |
|---|---|
SizeGreaterThan()
|
|
| Method Summary | |
|---|---|
void |
init()
|
java.util.Collection |
match(Mail mail)
|
| Methods inherited from class org.apache.mailet.base.GenericMatcher |
|---|
destroy, getCondition, getMailetContext, getMatcherConfig, getMatcherInfo, getMatcherName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SizeGreaterThan()
| Method Detail |
|---|
public void init()
throws javax.mail.MessagingException
init in class GenericMatcherjavax.mail.MessagingException
public java.util.Collection match(Mail mail)
throws javax.mail.MessagingException
match in interface Matchermatch in class GenericMatcherjavax.mail.MessagingExceptionGenericMatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||