Class 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 boolean matches​(java.util.Collection<java.util.regex.Pattern> patterns, java.lang.String value)  
      static boolean matches​(java.util.regex.Pattern[] patterns, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_PATTERNS

        public static final java.util.regex.Pattern[] EMPTY_PATTERNS
    • Constructor Detail

      • PatternUtils

        public PatternUtils()
    • 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)