Package com.xmlmind.util
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
Nested Classes Modifier and Type Interface Description static class
Console.MessageType
Message types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showMessage(String message, Console.MessageType messageType)
Show specified message to user.
-
-
-
Method Detail
-
showMessage
void showMessage(String message, Console.MessageType messageType)
Show specified message to user.- Parameters:
message
- a possibly multi-line messagemessageType
- type of message:Console.MessageType.INFO
,Console.MessageType.WARNING
,Console.MessageType.ERROR
orConsole.MessageType.DEBUG
.
-
-