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

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

Field Summary
static PatternCompiler INSTANCE
          A singleton instance of this implementation.
 
Constructor Summary
WildcardGlobPatternCompiler()
          The constructor.
 
Method Summary
protected  boolean isRequireWildcard()
          This method gets the flag that determines if wildcards are required.
 
Methods inherited from class net.sf.mmm.util.pattern.base.AbstractGlobPatternCompiler
compile, convertPattern, 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

WildcardGlobPatternCompiler

public WildcardGlobPatternCompiler()
The constructor.

Method Detail

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.