net.sf.mmm.util.pattern.base
Class GlobPatternCompiler
java.lang.Object
net.sf.mmm.util.pattern.base.AbstractGlobPatternCompiler
net.sf.mmm.util.pattern.base.GlobPatternCompiler
- All Implemented Interfaces:
- PatternCompiler
public class GlobPatternCompiler
- extends AbstractGlobPatternCompiler
This is an implementation of the PatternCompiler
interface that
compiles
glob-patterns. A glob-pattern is a
pattern, where only the wildcard characters '*'
and
'?'
are treated special. The asterisk ('*'
) can
match any string including the empty string and the questionmark (
'?'
) can match any single character.
Examples:
A*bc?e
matches Abcde
or
AFOObarbcxe
but NOT abcde
or Abce
.
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
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.
GlobPatternCompiler
public GlobPatternCompiler()
- The constructor.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.