程序包 proguard.retrace
类 FramePattern
- java.lang.Object
-
- proguard.retrace.FramePattern
-
public class FramePattern extends java.lang.ObjectThis 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.
-
-
-
方法详细资料
-
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 ofparse(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.
-
-