public static class StackTraceHelper.StackFrame
extends java.lang.Object
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.
|
public java.lang.String getFile()
public java.lang.String getMethod()
public int getLine()
getFile()
.public int getColumn()
getFile()
.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.