程序包 proguard.retrace

类 FramePattern


  • public class FramePattern
    extends java.lang.Object
    This class can parse and format lines that represent stack frames matching a given regular expression.
    • 构造器概要

      构造器 
      构造器 说明
      FramePattern​(java.lang.String regularExpression, boolean verbose)
      Creates a new FramePattern.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String format​(java.lang.String line, FrameInfo frameInfo)
      Formats the given frame information based on the given template line.
      FrameInfo parse​(java.lang.String line)
      Parses all frame information from a given line.
      • 从类继承的方法 java.lang.Object

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

      • FramePattern

        public FramePattern​(java.lang.String regularExpression,
                            boolean verbose)
        Creates a new FramePattern.
    • 方法详细资料

      • parse

        public FrameInfo parse​(java.lang.String line)
        Parses all frame information from a given line.
        参数:
        line - a line that represents a stack frame.
        返回:
        the parsed information, or null if the line doesn't match a stack frame.
      • format

        public java.lang.String format​(java.lang.String line,
                                       FrameInfo frameInfo)
        Formats the given frame information based on the given template line. It is the reverse of parse(String), but optionally with different frame information.
        参数:
        line - a template line that represents a stack frame.
        frameInfo - information about a stack frame.
        返回:
        the formatted line, or null if the line doesn't match a stack frame.