| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mailet.GenericMatcher
org.apache.james.transport.matchers.HasAttachment
public class HasAttachment
Checks whether this message has an attachment
| Constructor Summary | |
|---|---|
| HasAttachment() | |
| Method Summary | |
|---|---|
|  java.util.Collection | match(Mail mail)Either every recipient is matching or neither of them. | 
| Methods inherited from class org.apache.mailet.GenericMatcher | 
|---|
| destroy, getCondition, getMailetContext, getMatcherConfig, getMatcherInfo, getMatcherName, init, init, log, log | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HasAttachment()
| Method Detail | 
|---|
public java.util.Collection match(Mail mail)
                           throws javax.mail.MessagingException
match in interface Matchermatch in class GenericMatchermail - - the Mail object that contains the MimeMessage and
          routing information
javax.mail.MessagingException - if no attachment is found and at least one exception was thrown| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||