程序包 proguard.util

类 CollectionParser

  • 所有已实现的接口:
    StringParser

    public class CollectionParser
    extends java.lang.Object
    implements StringParser
    This StringParser can create a CollectionMatcher instance for regular expressions. The regular expressions are either presented as a list, or they are interpreted as comma-separated lists. These lists should contain strings that need to be literally matched meaning that wildcards, negations,... are not interpreted by the StringParser.
    • 构造器概要

      构造器 
      构造器 说明
      CollectionParser()
      Creates a new ListParser that parses individual elements in the comma-separated list with the given StringParser.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      StringMatcher parse​(java.lang.String regularExpression)
      Creates a StringMatcher for the given regular expression.
      StringMatcher parse​(java.util.List<java.lang.String> regularExpressions)
      Creates a StringMatcher for the given regular expression, which can be a list of optionally negated simple entries.
      • 从类继承的方法 java.lang.Object

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

      • CollectionParser

        public CollectionParser()
        Creates a new ListParser that parses individual elements in the comma-separated list with the given StringParser.
    • 方法详细资料

      • parse

        public StringMatcher parse​(java.lang.String regularExpression)
        从接口复制的说明: StringParser
        Creates a StringMatcher for the given regular expression.
        指定者:
        parse 在接口中 StringParser
      • parse

        public StringMatcher parse​(java.util.List<java.lang.String> regularExpressions)
        Creates a StringMatcher for the given regular expression, which can be a list of optionally negated simple entries.

        An empty list results in a StringMatcher that matches any string.