Public Member Functions | |
Pattern (String pattern) | |
boolean | isPathPrefix () |
boolean | isExtensionPattern () |
boolean | isDefaultPattern () |
boolean | isExactPattern () |
boolean | isSubstringPattern (String substring) |
boolean | isMatching (Pattern otherPattern) |
String | getValue () |
String | toString () |
boolean | equals (Object o) |
int | hashCode () |
int | compareTo (Object o) |
Definition at line 38 of file Pattern.java.
|
Constructor
Definition at line 80 of file Pattern.java. |
|
Compares this object with the specified object for order.
Definition at line 249 of file Pattern.java. References org.objectweb.jonas_web.deployment.api.Pattern.getValue(). |
Here is the call graph for this function:
|
Tests if this object is equal to another object
Definition at line 227 of file Pattern.java. References org.objectweb.jonas_web.deployment.api.Pattern.getValue(). |
Here is the call graph for this function:
|
Gets the string representation of this object
Definition at line 209 of file Pattern.java. Referenced by org.objectweb.jonas_web.deployment.api.Pattern.compareTo(), org.objectweb.jonas_web.deployment.api.Pattern.equals(), org.objectweb.jonas_web.deployment.api.Pattern.isMatching(), and org.objectweb.jonas_web.deployment.api.Pattern.toString(). |
|
Gets the hashcode of this object
Definition at line 238 of file Pattern.java. |
|
Test if this pattern is the default pattern (equals to "/")
Definition at line 131 of file Pattern.java. Referenced by org.objectweb.jonas_web.deployment.api.Pattern.isMatching(). |
|
Test if this pattern is an exact pattern (not in the other case)
Definition at line 141 of file Pattern.java. |
|
Test if this pattern is an extension pattern (Starts with ".*")
Definition at line 121 of file Pattern.java. Referenced by org.objectweb.jonas_web.deployment.api.Pattern.isMatching(). |
|
Test if this pattern matches another pattern This URL pattern matches another pattern if they are related, by case sensitive comparison, as follows:
this pattern is an extension pattern (that is, it starts with "*.") and the other pattern ends with this pattern, or this pattern is the special default pattern, "/", which matches all other patterns.
Definition at line 186 of file Pattern.java. References org.objectweb.jonas_web.deployment.api.Pattern.getValue(), org.objectweb.jonas_web.deployment.api.Pattern.isDefaultPattern(), org.objectweb.jonas_web.deployment.api.Pattern.isExtensionPattern(), org.objectweb.jonas_web.deployment.api.Pattern.isPathPrefix(), and org.objectweb.jonas_web.deployment.api.Pattern.isSubstringPattern(). Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.addQualifiedPattern(). |
Here is the call graph for this function:
|
Test if this pattern is a path-prefix pattern or not (Starts with "/" and ends with "/*"
Definition at line 111 of file Pattern.java. Referenced by org.objectweb.jonas_web.deployment.api.Pattern.isMatching(). |
|
Test if the pattern starts with the given pattern It's the inverse of this definition : The other pattern starts with the substring of this pattern, minus its last 2 characters, and the next character of the other pattern, if there is one, is "/"
Definition at line 155 of file Pattern.java. Referenced by org.objectweb.jonas_web.deployment.api.Pattern.isMatching(). |
|
String representation
Definition at line 218 of file Pattern.java. References org.objectweb.jonas_web.deployment.api.Pattern.getValue(). |
Here is the call graph for this function: