IDataSink
, java.io.Serializable
public class DataSinkConsole extends java.lang.Object implements IDataSink, java.io.Serializable
Constructor | Description |
---|---|
DataSinkConsole() |
Makes class using System.out as the default output stream.
|
DataSinkConsole(java.io.PrintStream outputStream) |
Constructor that permits specification of the output printstream.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.PrintStream |
getOut() |
Method called to express incredulity.
|
void |
putData(IData data) |
Causes the given values to be written to the print stream.
|
void |
putDataInfo(IDataInfo dataInfo) |
Causes the given DataInfo to be written to the print stream.
|
void |
setOut(java.io.PrintStream out) |
Sets the output print stream where data is written.
|
public DataSinkConsole()
public DataSinkConsole(java.io.PrintStream outputStream)
outputStream
- public void putDataInfo(IDataInfo dataInfo)
putDataInfo
in interface IDataSink
public void putData(IData data)
public java.io.PrintStream getOut()
public void setOut(java.io.PrintStream out)