public class DebugPrinter
extends java.lang.Object
DEBUG
boolean in this file is set.Constructor and Description |
---|
DebugPrinter() |
Modifier and Type | Method and Description |
---|---|
static void |
dp(java.lang.Object classObject,
java.lang.String printableString)
Wrapper for debugPrint(Class, String).
|
static void |
dp(java.lang.Object classObject,
java.lang.String printableString,
int lineMode)
Wrapper for debugPrint(Class, String, int).
|
static void |
dp(java.lang.String printableString)
Wrapper for debugPrint(String).
|
static void |
dp(java.lang.String printableString,
int lineMode)
Wrapper for debugPrint(String, int).
|
static void |
p(java.lang.Object classObject,
java.lang.String printableString)
Prints the passed String no matter if the
DEBUG flag is set or not. |
public static void dp(java.lang.Object classObject, java.lang.String printableString)
classObject
- the class calling this method. Usually "this"printableString
- the String to print.public static void dp(java.lang.Object classObject, java.lang.String printableString, int lineMode)
classObject
- the class calling this method. Usually "this"printableString
- the String to print.lineMode
- 0 or 1. 0 for line break after print, 1 for no line break.public static void dp(java.lang.String printableString)
printableString
- the String to print.public static void dp(java.lang.String printableString, int lineMode)
printableString
- the String to print.lineMode
- 0 or 1. 0 for line break after print, 1 for no line break.public static void p(java.lang.Object classObject, java.lang.String printableString)
DEBUG
flag is set or not.
If it is not set only the passed String will be shown.
If it is set the calling method's path and name will also be shown.classObject
- the class calling this method. Usually "this".printableString
- the String to print.