public class OM
extends java.lang.Object
String
. It is possible to output messages to many different
message outputs, if they have the same key.Modifier and Type | Method | Description |
---|---|---|
static void |
addOutput(IMessageOutput rIMessageOutput) |
Adds message output to the list of message outputs stored in this class
|
static void |
clear(java.lang.String rKey) |
Clears that message output stored in this class, which has given key
|
static void |
print(java.lang.String rInputString) |
Prints given text to the default message output
|
static void |
print(java.lang.String rKey,
java.lang.String rInputString) |
Prints given text to the message output with given key
|
static void |
println() |
Prints empty string to the default message output and goes to new line
|
static void |
println(java.lang.String rInputString) |
Prints given text to the default message output and goes to new line
|
static void |
println(java.lang.String rKey,
java.lang.String rInputString) |
Prints given text to the message output with given key and goes to new line
|
static void |
setDefaultOutput(java.lang.String rDefaultOutput) |
Sets default output (by key), used in
print(String) and println(String) methods |
public static void setDefaultOutput(java.lang.String rDefaultOutput)
print(String)
and println(String)
methodsrDefaultOutput
- key of the output that should be set as a default onepublic static void addOutput(IMessageOutput rIMessageOutput)
rIMessageOutput
- message outputpublic static void clear(java.lang.String rKey)
rKey
- key of the message output to be clearedpublic static void print(java.lang.String rInputString)
rInputString
- text to be printed to the default message outputpublic static void println()
public static void println(java.lang.String rInputString)
rInputString
- text to be printed to the default message outputpublic static void print(java.lang.String rKey, java.lang.String rInputString)
rKey
- key of the message output stored in this classrInputString
- text to be printed to the message output with given keypublic static void println(java.lang.String rKey, java.lang.String rInputString)
rKey
- key of the message output stored in this classrInputString
- text to be printed to the message output with given key