Class Filter

  • Direct Known Subclasses:
    ExtendedFilter

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

      Fields 
      Modifier and Type Field Description
      (package private) static int APPROX  
      (package private) static java.lang.String EMPTY  
      (package private) static int EQ  
      (package private) static java.lang.String EQUALITY  
      (package private) boolean extended  
      (package private) java.lang.String filter  
      (package private) static java.lang.String GARBAGE  
      (package private) static int GE  
      (package private) static int GT  
      (package private) static int LE  
      (package private) static int LT  
      (package private) static java.lang.String MALFORMED  
      (package private) static int NEQ  
      (package private) Filter.Node node  
      (package private) static java.lang.String OPERATOR  
      (package private) java.lang.Exception parseException  
      (package private) static java.lang.invoke.MethodHandles.Lookup publicLookup  
      (package private) static java.lang.invoke.MethodType stringConstructor  
      (package private) static java.lang.String SUBEXPR  
      private java.lang.String tail  
      (package private) static java.lang.String TRUNCATED  
      (package private) static char WILDCARD  
    • Constructor Summary

      Constructors 
      Constructor Description
      Filter​(java.lang.String filter)  
      Filter​(java.lang.String filter, boolean extended)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean compare​(java.lang.Object obj, int op, java.lang.String s)  
      (package private) boolean compareSign​(int op, int cmp)  
      (package private) boolean compareString​(java.lang.String s1, int op, java.lang.String s2)  
      boolean equals​(java.lang.Object obj)  
      (package private) void error​(java.lang.String m)  
      (package private) java.lang.String fixupString​(java.lang.String s)  
      int hashCode()  
      boolean match​(Get get)  
      boolean match​(java.util.Dictionary<?,​?> dict)  
      boolean matchMap​(java.util.Map<?,​?> dict)  
      (package private) boolean patSubstr​(java.lang.String s, java.lang.String pat)  
      java.lang.String toString()  
      private static java.lang.Object valueOf​(java.lang.Class<?> numClass, java.lang.String s)  
      java.lang.String verify()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Filter

        public Filter​(java.lang.String filter,
                      boolean extended)
               throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • Filter

        public Filter​(java.lang.String filter)
               throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
    • Method Detail

      • error

        void error​(java.lang.String m)
            throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • compare

        boolean compare​(java.lang.Object obj,
                        int op,
                        java.lang.String s)
      • valueOf

        private static java.lang.Object valueOf​(java.lang.Class<?> numClass,
                                                java.lang.String s)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • match

        public boolean match​(java.util.Dictionary<?,​?> dict)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • matchMap

        public boolean matchMap​(java.util.Map<?,​?> dict)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • match

        public boolean match​(Get get)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verify

        public java.lang.String verify()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareString

        boolean compareString​(java.lang.String s1,
                              int op,
                              java.lang.String s2)
      • compareSign

        boolean compareSign​(int op,
                            int cmp)
      • fixupString

        java.lang.String fixupString​(java.lang.String s)
      • patSubstr

        boolean patSubstr​(java.lang.String s,
                          java.lang.String pat)