FileDocCategorySizeDatePackage
SubjectIs.javaAPI DocApache James 2.3.11776Fri Jan 12 12:56:32 GMT 2007org.apache.james.transport.matchers

SubjectIs

public class SubjectIs extends org.apache.mailet.GenericMatcher
version
1.0.0, 1/5/2000

Fields Summary
Constructors Summary
Methods Summary
public java.util.Collectionmatch(org.apache.mailet.Mail mail)

        MimeMessage mm = mail.getMessage();
        String subject = mm.getSubject();
        if (subject != null && subject.equals(getCondition())) {
            return mail.getRecipients();
        }
        return null;