public enum FilterPatternStyle extends Enum<FilterPatternStyle>
Enum Constant and Description |
---|
ANT
Ant-style pattern matching.
|
REGEX
Regex-style pattern matching.
|
Modifier and Type | Method and Description |
---|---|
static FilterPatternStyle |
defaultStyle() |
PathMatcher |
getPathMatcher() |
static FilterPatternStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterPatternStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterPatternStyle ANT
AntPathMatcher
public static final FilterPatternStyle REGEX
RegexPathMatcher
public static FilterPatternStyle[] values()
for (FilterPatternStyle c : FilterPatternStyle.values()) System.out.println(c);
public static FilterPatternStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic PathMatcher getPathMatcher()
public static FilterPatternStyle defaultStyle()