Skip navigation links
C D F H I P T 

C

close() - Static method in class Debug
Close the output stream if it is not System.err.

D

Debug - Class in <Unnamed>
In writing your code, you may be tempted to use System.out.printf() to determine what is happening.
Debug() - Constructor for class Debug
Purely static, no instances may be created
debugLevel - Static variable in class Debug
A variable controlling how much debug output is produced.

F

format(String, Object...) - Static method in class Debug
An "extension" of String.format() to automatically convert arrays to Strings using the Arrays.toString() methods.

H

HERE() - Static method in class Debug
Simple routine to print the fileName, lineNumber and methodName.

I

init(String[]) - Static method in class Debug
This routine will initialize the class from the arguments passed to main().

P

prefix - Static variable in class Debug
Define prefix of flag to turn on debugging
printf(String, Object...) - Static method in class Debug
Print a message if the variable Debug.debugLevel is non-zero.
printf(int, String, Object...) - Static method in class Debug
Print a message if the parameter level is less than or equal to debugLevel.
printIt(String, Object...) - Static method in class Debug
Print the output prefix "DEBUG fileName[lineNumber] methodName"
ps - Static variable in class Debug
A variable to allow debug output to go someplace other than System.err.

T

toFile(String) - Static method in class Debug
Send debugging output to a file.
C D F H I P T 
Skip navigation links