public class WildcardGlobPatternCompiler extends AbstractGlobPatternCompiler
GlobPatternCompiler
but requires wildcards in the pattern.Modifier and Type | Field and Description |
---|---|
static PatternCompiler |
INSTANCE
A singleton instance of this implementation.
|
Constructor and Description |
---|
WildcardGlobPatternCompiler()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isRequireWildcard()
This method gets the flag that determines if wildcards are required.
|
compile, convertPattern, process
public static final PatternCompiler INSTANCE
public WildcardGlobPatternCompiler()
protected boolean isRequireWildcard()
AbstractGlobPatternCompiler
false
. Override to change.isRequireWildcard
in class AbstractGlobPatternCompiler
true
if wildcards are required. In that case null
is returned
if
the given pattern
contains no wildcard ('*' or '?'). false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.