KindFTP
© 1998-2001 Joseph Kiniry
© 2001 KindSoftware
All Rights Reserved

kindftp
Class IDebugInit

java.lang.Object
  |
  +--kindftp.IDebugInit

public class IDebugInit
extends java.lang.Object

A class that centralizes initialization of the IDebug framework for KindFTP.

The various get* methods cannot be called until the init() method has been called and has completed.

Since:
KindFTP initial release.
Invariants:
initialized implies ((debug != null) && (assert != null) && (debugConstants != null) && (debugOutput != null))
Author:
Joseph R. Kiniry
See Also:
IDebug, init()

Constructor Summary
IDebugInit()
           
 
Method Summary
static idebug.Assert getAssert()
           
static idebug.Debug getDebug()
           
static idebug.DebugConstants getDebugConstants()
           
static idebug.DebugOutput getDebugOutput()
           
static void init()
           Initialize the debugging subsystem of KindFTP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDebugInit

public IDebugInit()
Method Detail

init

public static void init()

Initialize the debugging subsystem of KindFTP.

Postconditions:
getDebug() != null
getDebugOutput() != null
getAssert() != null
getDebugConstants() != null
initialized

getDebug

public static idebug.Debug getDebug()
Returns:
a reference to the Debug instance associated with KindFTP.
Preconditions:
initialized #IllegalStateException
Postconditions:
return != null

getDebugOutput

public static idebug.DebugOutput getDebugOutput()
Returns:
a reference to the implementation of DebugOutput associated with KindFTP.
Preconditions:
initialized #IllegalStateException
Postconditions:
return != null

getAssert

public static idebug.Assert getAssert()
Returns:
a reference to the implementation of Assert associated with KindFTP.
Preconditions:
initialized #IllegalStateException
Postconditions:
return != null

getDebugConstants

public static idebug.DebugConstants getDebugConstants()
Returns:
a reference to the implementation of DebugConstants associated with KindFTP.
Preconditions:
initialized #IllegalStateException
Postconditions:
return != null

KindFTP
© 1998-2001 Joseph Kiniry
© 2001 KindSoftware
All Rights Reserved