|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mortbay.Base.Frame
Access the current execution frame
Field Summary | |
int |
_depth
The stack depth where the Frame was created (main is 1) |
java.lang.String |
_file
The file and linenumber of where the Frame was created. |
java.lang.String |
_method
The Method (including the "(file.java:99)") the Frame was created in |
java.lang.String |
_stack
The full stack of where the Frame was created. |
java.lang.String |
_thread
Name of the Thread the Frame was created in |
Constructor Summary | |
|
Frame()
Construct a frame |
|
Frame(int ignoreFrames)
Construct a frame |
protected |
Frame(java.lang.String stack,
int ignoreFrames,
boolean partial)
Internal only Constructor. |
Method Summary | |
java.lang.String |
file()
|
Frame |
getParent()
Get a Frame representing the function one level up in this frame |
protected void |
internalInit(int ignoreFrames,
boolean partial)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public java.lang.String _stack
public java.lang.String _method
public int _depth
public java.lang.String _thread
public java.lang.String _file
Constructor Detail |
public Frame()
public Frame(int ignoreFrames)
ignoreFrames
- number of levels of stack to ignoreprotected Frame(java.lang.String stack, int ignoreFrames, boolean partial)
Method Detail |
protected void internalInit(int ignoreFrames, boolean partial)
public java.lang.String file()
public java.lang.String toString()
public Frame getParent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |