|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.RegexpStackTraceElementAnalyzer
public class RegexpStackTraceElementAnalyzer
Uses a regular expression to identify which CSS class to apply to a frame. The frame's toString()
is used. Uses
Matcher.find()
to search for a subsequence of the frame's description.
Constructor Summary | |
---|---|
RegexpStackTraceElementAnalyzer(java.util.regex.Pattern pattern,
java.lang.String cssClass)
|
Method Summary | |
---|---|
java.lang.String |
classForFrame(java.lang.StackTraceElement frame)
Returns the CSS class appropriate to the frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexpStackTraceElementAnalyzer(java.util.regex.Pattern pattern, java.lang.String cssClass)
Method Detail |
---|
public java.lang.String classForFrame(java.lang.StackTraceElement frame)
StackTraceElementAnalyzer
classForFrame
in interface StackTraceElementAnalyzer
frame
- stack trace element to be analyzed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |