| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public char[] | |
| public int | getNormalizedLength()
Implements abstract org. Return the length of the path element where captures are considered to be one character long. |
| public int | getScore()
Overrides org. Return the score for this PathElement, combined score is used to compare parsed patterns. |
| public int | getWildcardCount()
Overrides org. Return the number of wildcard elements (*, ?) in the path element. |
| public boolean | matches(int
the current position within the candidate path pathIndex, PathPattern.encapsulates context for the match including the candidate matchingContextImplements abstract org. Matching on a WildcardPathElement is quite straight forward. |
| public String |
| WildcardPathElement | back to summary |
|---|---|
| public WildcardPathElement(int pos, char separator) | |
| getChars | back to summary |
|---|---|
| public char[] getChars() Implements abstract org.
| |
| getNormalizedLength | back to summary |
|---|---|
| public int getNormalizedLength() Implements abstract org. Doc from org. Return the length of the path element where captures are considered to be one character long.
| |
| getScore | back to summary |
|---|---|
| public int getScore() Overrides org. Doc from org. Return the score for this PathElement, combined score is used to compare parsed patterns.
| |
| getWildcardCount | back to summary |
|---|---|
| public int getWildcardCount() Overrides org. Doc from org. Return the number of wildcard elements (*, ?) in the path element.
| |
| matches | back to summary |
|---|---|
| public boolean matches(int pathIndex, PathPattern. Implements abstract org. Matching on a WildcardPathElement is quite straight forward. Scan the candidate from the candidateIndex onwards for the next separator or the end of the candidate.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |