Class AntPathMatcher.AntPatternComparator.PatternInfo
java.lang.Object
com.igormaznitsa.jcp.utils.antpathmatcher.AntPathMatcher.AntPatternComparator.PatternInfo
- Enclosing class:
AntPathMatcher.AntPatternComparator
Value class that holds information about the pattern, e.g. number of
occurrences of "*", "**", and "{" pattern elements.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
Returns the length of the given pattern, where template variables are considered to be 1 long.int
int
int
protected void
boolean
boolean
-
Field Details
-
pattern
-
uriVars
private int uriVars -
singleWildcards
private int singleWildcards -
doubleWildcards
private int doubleWildcards -
catchAllPattern
private boolean catchAllPattern -
prefixPattern
private boolean prefixPattern -
length
-
-
Constructor Details
-
PatternInfo
-
-
Method Details
-
initCounters
protected void initCounters() -
getUriVars
public int getUriVars() -
getSingleWildcards
public int getSingleWildcards() -
getDoubleWildcards
public int getDoubleWildcards() -
isLeastSpecific
public boolean isLeastSpecific() -
isPrefixPattern
public boolean isPrefixPattern() -
getTotalCount
public int getTotalCount() -
getLength
public int getLength()Returns the length of the given pattern, where template variables are considered to be 1 long.
-