All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.util.Debug

java.lang.Object
   |
   +----dtai.util.Debug

public class Debug
extends Object
Debug class


Constructor Index

 o Debug()

Method Index

 o getLevel()
gets the debug level
 o isOn()
isOn
 o off()
turns debug off
 o on()
turns debug on with default level of 100
 o on(int)
turns debug level on and sets with specified debug level
 o print(int, String)
prints a string if the debug level is greater than or equal to the level
 o print(String)
prints a string
 o println()
println
 o println(int)
println
 o println(int, String)
println
 o println(String)
println
 o quietOff()
quietOff
 o quietOn()
quietOn
 o quietOn(int)
quietOn

Constructors

 o Debug
 public Debug()

Methods

 o on
 public static void on()
turns debug on with default level of 100

 o on
 public static void on(int level)
turns debug level on and sets with specified debug level

Parameters:
level - the specified debug level
 o off
 public static void off()
turns debug off

 o quietOn
 public static void quietOn()
quietOn

 o quietOn
 public static void quietOn(int level)
quietOn

Parameters:
level - the level
 o quietOff
 public static void quietOff()
quietOff

 o isOn
 public static boolean isOn()
isOn

Returns:
boolean
 o getLevel
 public static int getLevel()
gets the debug level

Returns:
the level
 o print
 public static void print(String string)
prints a string

Parameters:
string - the string to be printed
 o print
 public static void print(int level,
                          String string)
prints a string if the debug level is greater than or equal to the level

Parameters:
level - the level
string - the string to pe printed
 o println
 public static void println()
println

 o println
 public static void println(int level)
println

Parameters:
level - the level
 o println
 public static void println(String string)
println

Parameters:
string - the string to be printed
 o println
 public static void println(int level,
                            String string)
println

Parameters:
level - the level
string - the string to be printed

All Packages  Class Hierarchy  This Package  Previous  Next  Index