OutputFileTerminal

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.tex.IOutputTerminal

public final class OutputFileTerminal implements IOutputTerminal

Implements a terminal whose output is to be written to a file in some working directory.

Constructors

ConstructorDescription
OutputFileTerminal(IOutputWorkingDirectory workingDirectory)Creates new instance.

Methods

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

OutputFileTerminal(IOutputWorkingDirectory workingDirectory)

public OutputFileTerminal(IOutputWorkingDirectory workingDirectory)

Creates new instance.

Parameters:

ParameterTypeDescription
workingDirectoryIOutputWorkingDirectoryThe working directory.

getWriter()

public BufferedWriter getWriter()

Gets the writer for the output terminal.

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

getStream()

public OutputStream getStream()

Gets the underlying stream.

Returns: java.io.OutputStream - The stream.