IDebug
© 1997-2001 Joseph Kiniry
© 2000-2001 KindSoftware
© 1997-1999 Caltech
All Rights Reserved

idebug
Class DefaultDebugConstants

java.lang.Object
  |
  +--idebug.DefaultDebugConstants
All Implemented Interfaces:
DebugConstants

public class DefaultDebugConstants
extends java.lang.Object
implements DebugConstants

The default implementation of debug semantics for the IDebug framework.

Version:
$Revision: 2146 $ $Date: 2005-02-13 16:54:27 +0000 (Sun, 13 Feb 2005) $
Author:
Joseph R. Kiniry

Fields inherited from interface idebug.DebugConstants
ASSERTION, ASSERTION_LEVEL, CRITICAL, CRITICAL_LEVEL, ERROR, ERROR_LEVEL, ERROR_STRING, FAILED_ASSERTION_STRING, FAILURE, FAILURE_LEVEL, INVALID_THREAD, LEVEL_MAX, LEVEL_MIN, NOTICE, NOTICE_LEVEL, WARNING, WARNING_LEVEL
 
Constructor Summary
DefaultDebugConstants()
           
 
Method Summary
 boolean checkLevel(int l)
           Check whether a level is valid, that is, bound byte the minimum and maximum levels of this interface's implementation.
 void initCategories(java.util.Hashtable hashtable)
          Initializes default categories of debugging facilities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDebugConstants

public DefaultDebugConstants()
Method Detail

initCategories

public void initCategories(java.util.Hashtable hashtable)
Initializes default categories of debugging facilities.
Specified by:
initCategories in interface DebugConstants
Parameters:
hashtable - is the hashtable to initialize.
See Also:
The default debug categories are documented in DebugConstants.

checkLevel

public boolean checkLevel(int l)
Description copied from interface: DebugConstants

Check whether a level is valid, that is, bound byte the minimum and maximum levels of this interface's implementation.

Specified by:
checkLevel in interface DebugConstants
Parameters:
l - the level to check.
Returns:
a boolean indicating if the passed level is valid.

IDebug
© 1997-2001 Joseph Kiniry
© 2000-2001 KindSoftware
© 1997-1999 Caltech
All Rights Reserved