public static class StackTraceHelper.StackFrameImpl extends java.lang.Object implements StackFrame
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Get the column this frame points to in the file returned by
getFile() . |
java.lang.String |
getFile()
Get the file this stack frame points to.
|
java.lang.String |
getFileName()
Get just the name of the file this frame points to.
|
int |
getLine()
Get the line number this frame points to in the file returned by
getFile() . |
java.lang.String |
getMethod()
Get the name of the method this frame points to.
|
org.json.JSONObject |
toJSON()
Convert the stack frame to a JSON representation.
|
public java.lang.String getFile()
getFile
in interface StackFrame
public java.lang.String getMethod()
getMethod
in interface StackFrame
public int getLine()
getFile()
.getLine
in interface StackFrame
public int getColumn()
getFile()
.getColumn
in interface StackFrame
public java.lang.String getFileName()
getFile()
in that it only returns the file
name, not the full path. For Java traces there is no difference.getFileName
in interface StackFrame
public org.json.JSONObject toJSON()
toJSON
in interface StackFrame