OutputFileSystemDirectory

Inheritance: java.lang.Object, com.aspose.tex.InputFileSystemDirectory

All Implemented Interfaces: com.aspose.tex.IOutputWorkingDirectory

public class OutputFileSystemDirectory extends InputFileSystemDirectory implements IOutputWorkingDirectory

Implements the regular file system’s method for getting a file stream to write to.

Constructors

ConstructorDescription
OutputFileSystemDirectory(String basePath)Creates new instance.

Methods

MethodDescription
getOutputFile(String fileName)Returns the stream to write to.
close()Disposes the instance.

OutputFileSystemDirectory(String basePath)

public OutputFileSystemDirectory(String basePath)

Creates new instance.

Parameters:

ParameterTypeDescription
basePathjava.lang.StringThe base path of the directory.

getOutputFile(String fileName)

public TeXOutputStream getOutputFile(String fileName)

Returns the stream to write to.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe file name.

Returns: TeXOutputStream - The named TeX output stream.

close()

public void close()

Disposes the instance.