IOutputTerminal

public interface IOutputTerminal

Interface for abstract output terminal.

Methods

MethodDescription
getWriter()Gets the writer for the output terminal.
getStream()Gets the underlying stream.

getWriter()

public abstract BufferedWriter getWriter()

Gets the writer for the output terminal.

Returns: java.io.BufferedWriter - The BufferedWriter class instance.

getStream()

public abstract OutputStream getStream()

Gets the underlying stream.

Returns: java.io.OutputStream - The stream.