All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class phil.util.traceJ.TraceToken

java.lang.Object
   |
   +----phil.util.traceJ.TraceToken

public class TraceToken
extends Object
Represents the trace state of the current method.


Constructor Index

 o TraceToken(String, String)
Creates a TraceToken.

Method Index

 o getBits()
Returns the trace bits currently enabled.
 o getClassName()
Returns the short name of the class associated with the active object.
 o getDepth()
Returns the current trace depth.
 o getMethodName()
Returns the name of the currently active method.
 o tracing()
Returns true if the current method is being traced, false if not.

Constructors

 o TraceToken
 public TraceToken(String clName,
                   String mName)
Creates a TraceToken.

Parameters:
clName - java.lang.String
mName - java.lang.String

Methods

 o getBits
 public int getBits()
Returns the trace bits currently enabled.

Returns:
int
 o getClassName
 public String getClassName()
Returns the short name of the class associated with the active object.

Returns:
java.lang.String
 o getDepth
 public int getDepth()
Returns the current trace depth.

Returns:
int
 o getMethodName
 public String getMethodName()
Returns the name of the currently active method.

Returns:
java.lang.String
 o tracing
 public boolean tracing()
Returns true if the current method is being traced, false if not.

Returns:
boolean

All Packages  Class Hierarchy  This Package  Previous  Next  Index