java.lang.Objectcom.dukascopy.api.ConsoleAdapter
public class ConsoleAdapter
| Constructor Summary | |
|---|---|
ConsoleAdapter()
|
|
| Method Summary | |
|---|---|
java.io.PrintStream |
getErr()
Returns PrintStream |
java.io.PrintStream |
getInfo()
Returns PrintStream |
java.io.PrintStream |
getNotif()
Returns PrintStream |
java.io.PrintStream |
getOut()
Returns PrintStream |
java.io.PrintStream |
getWarn()
Returns PrintStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleAdapter()
| Method Detail |
|---|
public java.io.PrintStream getOut()
IConsolePrintStream that prints messages with normal priority
- Specified by:
getOut in interface IConsole
- Returns:
PrintStream to print messages
public java.io.PrintStream getErr()
IConsolePrintStream that prints messages with error priority. Messages are shown in red color
- Specified by:
getErr in interface IConsole
- Returns:
PrintStream to print messages
public java.io.PrintStream getWarn()
IConsolePrintStream that prints messages with warning priority. Messages by default are shown in yellow color
- Specified by:
getWarn in interface IConsole
- Returns:
PrintStream to print messages
public java.io.PrintStream getInfo()
IConsolePrintStream that prints messages with info priority. Messages by default are shown in green color
- Specified by:
getInfo in interface IConsole
- Returns:
PrintStream to print messages
public java.io.PrintStream getNotif()
IConsolePrintStream that prints messages with notification priority. Messages by default are shown in blue color
- Specified by:
getNotif in interface IConsole
- Returns:
PrintStream to print messages