程序包 proguard.util

类 TransformedStringMatcher


  • public class TransformedStringMatcher
    extends proguard.util.StringMatcher
    This StringMatcher delegates its tests to another given StringMatcher, with strings that have been transformed with a given function.
    • 构造器概要

      构造器 
      构造器 说明
      TransformedStringMatcher​(proguard.util.StringFunction stringFunction, proguard.util.StringMatcher stringMatcher)
      Creates a new TransformedStringMatcher.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      boolean matches​(java.lang.String string)  
      protected boolean matches​(java.lang.String string, int beginOffset, int endOffset)  
      • 从类继承的方法 proguard.util.StringMatcher

        prefix
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • TransformedStringMatcher

        public TransformedStringMatcher​(proguard.util.StringFunction stringFunction,
                                        proguard.util.StringMatcher stringMatcher)
        Creates a new TransformedStringMatcher.
        参数:
        stringFunction - the function to transform strings.
        stringMatcher - the string matcher to test the transformed strings.
    • 方法详细资料

      • matches

        public boolean matches​(java.lang.String string)
        覆盖:
        matches 在类中 proguard.util.StringMatcher
      • matches

        protected boolean matches​(java.lang.String string,
                                  int beginOffset,
                                  int endOffset)
        指定者:
        matches 在类中 proguard.util.StringMatcher