|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.wallstreetwise.core.util.Messages
public class Messages
This class handles output to log files and the system console.
| Field Summary | |
|---|---|
static boolean |
debug
Debug flag. |
| Constructor Summary | |
|---|---|
Messages()
|
|
| Method Summary | |
|---|---|
static void |
error(java.lang.Exception e)
Receive an error message as a Java Exception and display on the console. |
static void |
error(java.lang.String s)
Receive an error message and display on the console. |
static void |
info(java.lang.String s)
Informational message. |
static void |
setDebug(boolean debug)
Set debug mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean debug
| Constructor Detail |
|---|
public Messages()
| Method Detail |
|---|
public static final void error(java.lang.String s)
s - a String.public static final void setDebug(boolean debug)
debug - true or falsepublic static final void error(java.lang.Exception e)
e - an Exception object.public static final void info(java.lang.String s)
s - a String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||