com.wallstreetwise.core.util
Class Messages

java.lang.Object
  extended by com.wallstreetwise.core.util.Messages

public class Messages
extends java.lang.Object

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

debug

public static boolean debug
Debug flag.

Constructor Detail

Messages

public Messages()
Method Detail

error

public static final void error(java.lang.String s)
Receive an error message and display on the console.

Parameters:
s - a String.

setDebug

public static final void setDebug(boolean debug)
Set debug mode.

Parameters:
debug - true or false

error

public static final void error(java.lang.Exception e)
Receive an error message as a Java Exception and display on the console.

Parameters:
e - an Exception object.

info

public static final void info(java.lang.String s)
Informational message.

Parameters:
s - a String.


JSpell SDK 2004 Spell Checker for the Java (tm) Platform
Copyright © 1996-2005 The Solution Cafe Inc, All Rights Reserved - http://www.thesolutioncafe.com