public class RegexpStackTraceElementAnalyzer extends Object implements StackTraceElementAnalyzer
toString()
is used. Uses
Matcher.find()
to search for a subsequence of the frame's description.Constructor and Description |
---|
RegexpStackTraceElementAnalyzer(Pattern pattern,
String cssClass) |
Modifier and Type | Method and Description |
---|---|
String |
classForFrame(StackTraceElement frame)
Returns the CSS class appropriate to the frame.
|
public RegexpStackTraceElementAnalyzer(Pattern pattern, String cssClass)
public String classForFrame(StackTraceElement frame)
StackTraceElementAnalyzer
classForFrame
in interface StackTraceElementAnalyzer
frame
- stack trace element to be analyzed5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.