com.jspell.domain
Class Messages

java.lang.Object
  extended by com.jspell.domain.Messages

public class Messages
extends java.lang.Object

This class handles output to log files and the system console.


Constructor Summary
Messages()
           
 
Method Summary
static void debug(java.lang.String s)
           
static void delayLog(java.lang.String s)
           
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 java.lang.StringBuffer getDelayLog()
           
static void info(java.lang.String s)
          Informational message.
static void resetDelayLog()
           
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
 

Constructor Detail

Messages

public Messages()
Method Detail

delayLog

public static final void delayLog(java.lang.String s)

resetDelayLog

public static final void resetDelayLog()

getDelayLog

public static final java.lang.StringBuffer getDelayLog()

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.

debug

public static void debug(java.lang.String s)


JSpell SDK - Spell Checker for the Java ™ Platform
Copyright © 2009 Page Scholar Inc, All Rights Reserved - http://www.jspell.com