Package mireka.filter.local.table
Class RecipientSpecificationFactory
- Object
-
- mireka.filter.local.table.RecipientSpecificationFactory
-
public class RecipientSpecificationFactory extends ObjectRecipientSpecificationFactory can convert a mail address like string into aRecipientSpecificationinstance.
-
-
Constructor Summary
Constructors Constructor Description RecipientSpecificationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecipientSpecificationcreate(String mailbox)Given a mailbox address supplied as a string, it creates a correspondingRecipientSpecification, either a specification which requires a specific case insensitive local part combined with a specific remote part, or aGlobalPostmasterSpecificationor aDomainPostmasterSpecification.
-
-
-
Method Detail
-
create
public RecipientSpecification create(String mailbox) throws IllegalArgumentException
Given a mailbox address supplied as a string, it creates a correspondingRecipientSpecification, either a specification which requires a specific case insensitive local part combined with a specific remote part, or aGlobalPostmasterSpecificationor aDomainPostmasterSpecification.- Throws:
IllegalArgumentException- if the syntax of the supplied mailbox is invalid.
-
-