Package mireka.filter.local.table
Class RegexLocalPart
- Object
-
- mireka.filter.local.table.RegexLocalPart
-
- All Implemented Interfaces:
LocalPartSpecification
public class RegexLocalPart extends Object implements LocalPartSpecification
RegexLocalPart compares the local part of an address with the specified regular expression.
-
-
Constructor Summary
Constructors Constructor Description RegexLocalPart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRegex()booleanisSatisfiedBy(LocalPart localPart)voidsetRegex(String regex)StringtoString()
-
-
-
Method Detail
-
isSatisfiedBy
public boolean isSatisfiedBy(LocalPart localPart)
- Specified by:
isSatisfiedByin interfaceLocalPartSpecification
-
toString
public String toString()
- Overrides:
toStringin classObject
-
getRegex
public String getRegex()
- Category:
- GETSET
-
setRegex
public void setRegex(String regex)
- Category:
- GETSET
-
-