All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.mmm.util.pattern.api.package-info Maven / Gradle / Ivy

Go to download

provides pattern matching abstraction to flexibly choose between regex and glob.

The newest version!
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0 */
/**
 * Provides the API for a pattern compiler. 
 * 

Pattern-Util API

To compile a {@link java.util.regex.Pattern} from a string you can use a * {@link net.sf.mmm.util.pattern.api.PatternCompiler} instead of {@link java.util.regex.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-{@link java.util.regex.Pattern} (and NOT some non-JDK object such as ORO or * whatever). */ package net.sf.mmm.util.pattern.api;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy