|
Protomatter Software v1.1.8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.protomatter.util.StackTraceInfo
A utility class describing a position in a method call stack.
Field Summary | |
java.lang.String |
className
The full class name. |
static int |
LINE_NUMBER_UNKNOWN
Calling method line number is unknown. |
int |
lineNumber
The line number, if known. |
java.lang.String |
methodName
The method name. |
Constructor Summary | |
StackTraceInfo()
Default constructor. |
|
StackTraceInfo(java.lang.String className,
java.lang.String methodName)
Utility constructor. |
|
StackTraceInfo(java.lang.String className,
java.lang.String methodName,
int line)
Utility constructor. |
Method Summary | |
java.lang.String |
getClassAndMethod()
|
java.lang.String |
getShortClassAndMethod()
|
java.lang.String |
toString()
Generate a nice display of the stack location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int LINE_NUMBER_UNKNOWN
public java.lang.String className
public java.lang.String methodName
public int lineNumber
Constructor Detail |
public StackTraceInfo()
public StackTraceInfo(java.lang.String className, java.lang.String methodName)
public StackTraceInfo(java.lang.String className, java.lang.String methodName, int line)
Method Detail |
public java.lang.String toString()
This is suitable for doing things like
toString
in class java.lang.Object
public java.lang.String getClassAndMethod()
public java.lang.String getShortClassAndMethod()
|
Protomatter Software v1.1.8 Copyright 1998-2002 Nate Sammons |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Software v1.1.8 | http://protomatter.sourceforge.net/1.1.8 |