Package com.xmlmind.util
Interface Console
-
- All Known Implementing Classes:
ConsoleHelper,ConsoleHelper2,SimpleConsole
public interface ConsoleInterface 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 classConsole.MessageTypeMessage types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshowMessage(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.ERRORorConsole.MessageType.DEBUG.
-
-