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

UserIs

public class UserIs extends org.apache.mailet.GenericRecipientMatcher
version
1.0.0, 24/04/1999

Fields Summary
Vector
users
Constructors Summary
Methods Summary
public voidinit()


       
        StringTokenizer st = new StringTokenizer(getCondition(), ", ", false);
        users = new Vector();
        while (st.hasMoreTokens()) {
            users.add(st.nextToken());
        }
    
public booleanmatchRecipient(org.apache.mailet.MailAddress recipient)

        return users.contains(recipient.getUser());