Package net.sf.mmm.util.pattern.api

Provides the API for a pattern compiler.

See:
          Description

Interface Summary
PatternCompiler This is the interface for a compiler that can compile an pattern-expression given as string into a Pattern.
 

Package net.sf.mmm.util.pattern.api Description

Provides the API for a pattern compiler.

Pattern-Util API

To compile a Pattern from a string you can use a PatternCompiler instead of Pattern.compile(String). This allows to exchange the implementation and e.g. support a different pattern syntax such as the common glob-patterns while still providing a Java regex-Pattern (and NOT some non-JDK object such as ORO or whatever).



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