public class JWildcardRule
extends java.lang.Object
| Constructor and Description |
|---|
JWildcardRule(java.lang.String regex)
JWildcardRule - represents wildcard rule model
|
JWildcardRule(java.lang.String source,
java.lang.String target)
JWildcardRule - represents wildcard rule model
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getSource() |
java.lang.String |
getTarget() |
int |
hashCode() |
public JWildcardRule(java.lang.String source,
java.lang.String target)
source - a substring to seek for, can't be nulltarget - a substring to replace by, can't be nulljava.lang.IllegalArgumentException - if one of the above (key, value) is nullpublic JWildcardRule(java.lang.String regex)
regex - a substring to leave as it is without wrapping by quotes, can't be nulljava.lang.IllegalArgumentException - if one of the above (key, value) is null