net.sf.mmm.util.pattern.base
Class GlobPatternCompiler

java.lang.Object
  extended by net.sf.mmm.util.pattern.base.AbstractGlobPatternCompiler
      extended by 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:

Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Field Summary
static PatternCompiler INSTANCE
          A singleton instance of this implementation.
 
Constructor Summary
GlobPatternCompiler()
          The constructor.
 
Method Summary
 
Methods inherited from class net.sf.mmm.util.pattern.base.AbstractGlobPatternCompiler
compile, convertPattern, isRequireWildcard, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PatternCompiler INSTANCE
A singleton instance of this implementation.

Constructor Detail

GlobPatternCompiler

public GlobPatternCompiler()
The constructor.



Copyright © 2001-2010 mmm-Team. All Rights Reserved.