All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class DBIS.Tools.Debugger

java.lang.Object
   |
   +----DBIS.Tools.Debugger

public class Debugger
extends Object
This class is intended to help debugging the program Basically this will contain the static variables which can be set as per the debugging demands Basically it will contain an vector of names of the classes which need to be debugged The classes which needs to be debugged can be set before the actual execution of the program begins.


Constructor Index

 o Debugger()

Method Index

 o addClass(Class)
This function registers the class
 o addClass(String)
 o display(String, Class)
 o display(String, Class, int)

Constructors

 o Debugger
 public Debugger()

Methods

 o display
 public static void display(String str,
                            Class classname)
Parameters:
- - str is the string to be displayed
- - classname is the name of the class requesting display
 o display
 public static void display(String str,
                            Class classname,
                            int sleep)
Parameters:
- - str is the string to be displayed
- - classname is the name of the class requesting display
- - sleep is the time in milliseconds for which the execution stops after displaying the message if the class is registered
 o addClass
 public static void addClass(Class classname)
This function registers the class

Parameters:
classname - - the class to be registsred
 o addClass
 public static void addClass(String className)

All Packages  Class Hierarchy  This Package  Previous  Next  Index