public class SubjectRegexpValidator extends Object implements MailValidator
Constructor and Description |
---|
SubjectRegexpValidator() |
Modifier and Type | Method and Description |
---|---|
String |
getPattern() |
void |
setPattern(String pattern) |
void |
setValue(String pattern) |
boolean |
shouldBeAccepted(ParsedMail mail) |
public boolean shouldBeAccepted(ParsedMail mail) throws RejectExceptionExt
shouldBeAccepted
in interface MailValidator
RejectExceptionExt
public String getPattern()
public void setPattern(String pattern)
public void setValue(String pattern)