Class LikeComparator


  • public class LikeComparator
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char ANY  
      static char SINGLE  
    • Constructor Summary

      Constructors 
      Constructor Description
      LikeComparator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean compare​(java.lang.String s, java.lang.String condition, char escapeChar)  
      static boolean compare​(java.lang.String s, java.lang.String condition, char escapeChar, char singleChar, char anyChar)  
      • Methods inherited from class java.lang.Object

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

      • LikeComparator

        public LikeComparator()
    • Method Detail

      • compare

        public static boolean compare​(java.lang.String s,
                                      java.lang.String condition,
                                      char escapeChar)
      • compare

        public static boolean compare​(java.lang.String s,
                                      java.lang.String condition,
                                      char escapeChar,
                                      char singleChar,
                                      char anyChar)