Package org.bridgedb.utils
Class Reporter
- java.lang.Object
-
- org.bridgedb.utils.Reporter
-
public class Reporter extends Object
Util functions that allows messages to be output.Allows the output format to be changed in one place so changing everywhere.
All other System.out calls can then be considered debug commands that should not have stayed in.
- Author:
- Christian
-
-
Constructor Summary
Constructors Constructor Description Reporter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiderror(String message)static voiderror(String message, Exception ex)static voidprintln(String message)Messages that should always goto the System out stream.static voidwarn(String message)
-
-
-
Method Detail
-
println
public static void println(String message)
Messages that should always goto the System out stream. This method just for the ease of searching for System,out lines added for debugging.- Parameters:
message-
-
warn
public static void warn(String message)
-
error
public static void error(String message)
-
-