cz.zcu.fav.kiv.editor.controller
Class MessageWriter

java.lang.Object
  extended by cz.zcu.fav.kiv.editor.controller.MessageWriter

public class MessageWriter
extends java.lang.Object

The MessageWriter class provides methods for writting down information and errors to the editor console.

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Constructor Summary
MessageWriter()
           
 
Method Summary
static void eraseConsole()
          Erases the editor console.
static void write(java.lang.String message)
          Writes a normal information to the editor console.
static void writeEmphasis(java.lang.String message)
          Writes an emphasis information to the editor console.
static void writeError(java.lang.String message)
          Writes an error message to the editor console.
static void writeInfo(java.lang.String message)
          Writes an information message to the editor console.
static void writeTitle(java.lang.String message)
          Writes a title to the editor console.
static void writeWarning(java.lang.String message)
          Writes a warning message to the editor console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageWriter

public MessageWriter()
Method Detail

write

public static void write(java.lang.String message)
Writes a normal information to the editor console.

Parameters:
message - the normal text message.

writeEmphasis

public static void writeEmphasis(java.lang.String message)
Writes an emphasis information to the editor console.

Parameters:
message - the normal text message.

writeTitle

public static void writeTitle(java.lang.String message)
Writes a title to the editor console.

Parameters:
message - the message containing title.

writeWarning

public static void writeWarning(java.lang.String message)
Writes a warning message to the editor console.

Parameters:
message - the message containing warning.

writeError

public static void writeError(java.lang.String message)
Writes an error message to the editor console.

Parameters:
message - the message containing error.

writeInfo

public static void writeInfo(java.lang.String message)
Writes an information message to the editor console.

Parameters:
message - the message containing information.

eraseConsole

public static void eraseConsole()
Erases the editor console.