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
Constructor | Description |
---|---|
OutputFileTerminal(IOutputWorkingDirectory workingDirectory) | Creates new instance. |
Methods
Method | Description |
---|---|
getWriter() | Gets the writer for the output terminal. |
getStream() | Gets the underlying stream. |
OutputFileTerminal(IOutputWorkingDirectory workingDirectory)
public OutputFileTerminal(IOutputWorkingDirectory workingDirectory)
Creates new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
workingDirectory | IOutputWorkingDirectory | The 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.