Package com.yevdo.jwildcard
Class JWildcardRules
java.lang.Object
com.yevdo.jwildcard.JWildcardRules
public class JWildcardRules
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description JWildcardRules()JWildcardRules represents a set of rules to use while converting wildcard to regex stringJWildcardRules(java.util.Set<JWildcardRule> rules)JWildcardRules represents a set of rules to use while converting wildcard to regex string -
Method Summary
Modifier and Type Method Description booleanaddRule(JWildcardRule rule)Add a rule to the existing rulesbooleanaddRules(java.util.Collection<JWildcardRule> rules)Add a set of rules to the existing rulesjava.util.Set<JWildcardRule>getRules()booleanremoveRule(JWildcardRule rule)Removes the specified element from this set if it is present
-
Constructor Details
-
JWildcardRules
public JWildcardRules()JWildcardRules represents a set of rules to use while converting wildcard to regex string -
JWildcardRules
JWildcardRules represents a set of rules to use while converting wildcard to regex string- Parameters:
rules- a collection of JWildcardRule
-
-
Method Details
-
addRule
Add a rule to the existing rules- Parameters:
rule- JWildcardRule- Returns:
trueif the rules set did not already contain the specified element
-
addRules
Add a set of rules to the existing rules- Parameters:
rules- a collection of JWildcardRule- Returns:
trueif the rules set did not already contain the specified elements
-
removeRule
Removes the specified element from this set if it is present- Parameters:
rule- JWildcardRule- Returns:
trueif this set contained the specified element
-
getRules
-