Package com.appslandia.common.utils
Class PatternUtils
- java.lang.Object
-
- com.appslandia.common.utils.PatternUtils
-
public class PatternUtils extends java.lang.Object- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.regex.Pattern[]EMPTY_PATTERNS
-
Constructor Summary
Constructors Constructor Description PatternUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.regex.Pattern[]compile(java.lang.String... regexs)static booleanmatches(java.util.Collection<java.util.regex.Pattern> patterns, java.lang.String value)static booleanmatches(java.util.regex.Pattern[] patterns, java.lang.String value)
-
-
-
Method Detail
-
compile
public static java.util.regex.Pattern[] compile(java.lang.String... regexs)
-
matches
public static boolean matches(java.util.regex.Pattern[] patterns, java.lang.String value)
-
matches
public static boolean matches(java.util.Collection<java.util.regex.Pattern> patterns, java.lang.String value)
-
-