| Constructor and Description |
|---|
ConsoleAdapter() |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
getErr()
Returns
PrintStream that prints messages with error priority. |
PrintStream |
getInfo()
Returns
PrintStream that prints messages with info priority. |
PrintStream |
getNotif()
Returns
PrintStream that prints messages with notification priority. |
PrintStream |
getOut()
Returns
PrintStream that prints messages with normal priority |
PrintStream |
getWarn()
Returns
PrintStream that prints messages with warning priority. |
void |
setMaxMessages(int maxNumber)
Sets the maximum number of messages.
|
public PrintStream getOut()
IConsolePrintStream that prints messages with normal prioritygetOut in interface IConsolePrintStream to print messagespublic PrintStream getErr()
IConsolePrintStream that prints messages with error priority. Messages are shown in red colorgetErr in interface IConsolePrintStream to print messagespublic PrintStream getWarn()
IConsolePrintStream that prints messages with warning priority. Messages by default are shown in yellow colorgetWarn in interface IConsolePrintStream to print messagespublic PrintStream getInfo()
IConsolePrintStream that prints messages with info priority. Messages by default are shown in green colorgetInfo in interface IConsolePrintStream to print messagespublic PrintStream getNotif()
IConsolePrintStream that prints messages with notification priority. Messages by default are shown in blue colorgetNotif in interface IConsolePrintStream to print messagespublic void setMaxMessages(int maxNumber)
IConsolesetMaxMessages in interface IConsolemaxNumber - maximum number of messages in Messages table. Passing -1 makes it unrestricted.Copyright © 2016. All rights reserved.