com.dukascopy.api
Class ConsoleAdapter

java.lang.Object
  extended by com.dukascopy.api.ConsoleAdapter
All Implemented Interfaces:
IConsole

public class ConsoleAdapter
extends java.lang.Object
implements IConsole


Constructor Summary
ConsoleAdapter()
           
 
Method Summary
 java.io.PrintStream getErr()
          Returns PrintStream that prints messages with error priority.
 java.io.PrintStream getInfo()
          Returns PrintStream that prints messages with info priority.
 java.io.PrintStream getNotif()
          Returns PrintStream that prints messages with notification priority.
 java.io.PrintStream getOut()
          Returns PrintStream that prints messages with normal priority
 java.io.PrintStream getWarn()
          Returns PrintStream that prints messages with warning priority.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleAdapter

public ConsoleAdapter()
Method Detail

getOut

public java.io.PrintStream getOut()
Description copied from interface: IConsole
Returns PrintStream that prints messages with normal priority

Specified by:
getOut in interface IConsole
Returns:
PrintStream to print messages

getErr

public java.io.PrintStream getErr()
Description copied from interface: IConsole
Returns PrintStream that prints messages with error priority. Messages are shown in red color

Specified by:
getErr in interface IConsole
Returns:
PrintStream to print messages

getWarn

public java.io.PrintStream getWarn()
Description copied from interface: IConsole
Returns PrintStream 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

getInfo

public java.io.PrintStream getInfo()
Description copied from interface: IConsole
Returns PrintStream 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

getNotif

public java.io.PrintStream getNotif()
Description copied from interface: IConsole
Returns PrintStream 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