|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsoleAction
Prints a message to the console, that is, stdout or stderr. The print() and println() methods are taken from java.io.PrintWriter.
PrintWriter
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the message to be printed to the console. |
void |
print(boolean b)
Prints a boolean to the console. |
void |
print(char c)
Prints a char to the console. |
void |
print(char[] s)
Prints a char[] to the console. |
void |
print(double d)
Prints a double to the console. |
void |
print(float f)
Prints a float to the console. |
void |
print(int i)
Prints an int to the console. |
void |
print(long l)
Prints a long to the console. |
void |
print(java.lang.Object o)
Prints an Object to the console. |
void |
print(java.lang.String s)
Prints a String to the console. |
void |
println()
Prints a newline to the console. |
void |
println(boolean b)
Prints a boolean to the console. |
void |
println(char c)
Prints a char to the console. |
void |
println(char[] s)
Prints a char[] to the console. |
void |
println(double d)
Prints a double to the console. |
void |
println(float f)
Prints a float to the console. |
void |
println(int i)
Prints an int to the console. |
void |
println(long l)
Prints a long to the console. |
void |
println(java.lang.Object o)
Prints an Object to the console. |
void |
println(java.lang.String s)
Prints a String to the console. |
void |
setMessage(java.lang.String message)
Sets the message to be printed to the console. |
void |
setStderr()
Instructs the action to print to stderr. |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
java.lang.String getMessage()
void print(boolean b)
b
- The boolean to print.void print(char c)
c
- The char to print.void print(char[] s)
s
- The char[] to print.void print(double d)
d
- The double to print.void print(float f)
f
- The float to print.void print(int i)
i
- The int to print.void print(long l)
l
- The long to print.void print(java.lang.Object o)
o
- The object to print.void print(java.lang.String s)
s
- The String to print.void println()
void println(boolean b)
b
- The boolean to print.void println(char c)
c
- The char to print.void println(char[] s)
s
- The char[] to print.void println(double d)
d
- The double to print.void println(float f)
f
- The float to print.void println(int i)
i
- The int to print.void println(long l)
l
- The long to print.void println(java.lang.Object o)
o
- The Object to print.void println(java.lang.String s)
s
- The String to print.void setMessage(java.lang.String message)
message
- The message to be printed to the console. Must not be null or empty.void setStderr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |