net.sf.mmm.util.pattern.base
Class WildcardGlobPatternCompiler
java.lang.Object
net.sf.mmm.util.pattern.base.AbstractGlobPatternCompiler
net.sf.mmm.util.pattern.base.WildcardGlobPatternCompiler
- All Implemented Interfaces:
- PatternCompiler
public class WildcardGlobPatternCompiler
- extends AbstractGlobPatternCompiler
This class behaves like GlobPatternCompiler but requires wildcards in
the pattern.
- Since:
- 1.0.1
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
|
Method Summary |
protected boolean |
isRequireWildcard()
This method gets the flag that determines if wildcards are required. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final PatternCompiler INSTANCE
- A singleton instance of this implementation.
WildcardGlobPatternCompiler
public WildcardGlobPatternCompiler()
- The constructor.
isRequireWildcard
protected boolean isRequireWildcard()
- This method gets the flag that determines if wildcards are required.
This implementation always returns false. Override to change.
- Overrides:
isRequireWildcard in class AbstractGlobPatternCompiler
- Returns:
true if wildcards are required. In that case
null is returned if the given
pattern contains no wildcard ('*' or '?').
false otherwise.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.