| java.lang.Object org.archive.crawler.settings.Constraint org.archive.crawler.settings.RegularExpressionConstraint
RegularExpressionConstraint | public class RegularExpressionConstraint extends Constraint implements Serializable(Code) | | A constraint that checks that a value matches a regular expression. This
constraint can only be applied to textual attributes.
author: John Erik Halse |
RegularExpressionConstraint | public RegularExpressionConstraint(String pattern, Level level, String msg)(Code) | | Constructs a new RegularExpressionConstraint.
Parameters: pattern - the regular expression pattern the value must match. Parameters: level - the severity level. Parameters: msg - the default error message. |
RegularExpressionConstraint | public RegularExpressionConstraint(String pattern, String msg)(Code) | | Constructs a new RegularExpressionConstraint using default severity level
(
Level.WARNING ).
Parameters: pattern - the regular expression pattern the value must match. Parameters: msg - the default error message. |
RegularExpressionConstraint | public RegularExpressionConstraint(String pattern, Level level)(Code) | | Constructs a new RegularExpressionConstraint using the default error
message.
Parameters: pattern - the regular expression pattern the value must match. Parameters: level - the severity level. |
RegularExpressionConstraint | public RegularExpressionConstraint(String pattern)(Code) | | Constructs a new RegularExpressionConstraint.
Parameters: pattern - the regular expression pattern the value must match. |
|
|