public class SimpleOutput
extends java.lang.Object
Constructor and Description |
---|
SimpleOutput() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
addNewLines(java.lang.String message)
Method to add new line character if the message
is too long
|
static void |
showError(java.lang.String message)
Method to show an error to a user
|
static void |
showInformation(java.lang.String message)
Method to show information to the user
|
static void |
showWarning(java.lang.String message)
Method to show a warning to a user
|
public static void showWarning(java.lang.String message)
message
- the message to displaypublic static void showError(java.lang.String message)
message
- the message to displaypublic static void showInformation(java.lang.String message)
message
- the message to displaypublic static java.lang.String addNewLines(java.lang.String message)
message
- the input message