Interface Console

All Known Implementing Classes:
ConsoleHelper, ConsoleHelper2, SimpleConsole

public interface Console

Interface implemented by objects which are required to report information, warnings and non-fatal errors to the user.

The implementation is generally expected to be thread-safe.

Nested Class Summary
static class Console.MessageType
          Message types.
Method Summary
 void showMessage(java.lang.String message, Console.MessageType messageType)
          Show specified message to user.

Method Detail


void showMessage(java.lang.String message,
                 Console.MessageType messageType)
Show specified message to user.

message - a possibly multi-line message
messageType - type of message: Console.MessageType.INFO, Console.MessageType.WARNING, Console.MessageType.ERROR or Console.MessageType.DEBUG.