TeXFileSystemOutputDirectory

Inheritance: java.lang.Object, com.aspose.pdf.tex.TeXFileSystemInputDirectory

All Implemented Interfaces: com.aspose.pdf.tex.ITeXOutputDirectory

public class TeXFileSystemOutputDirectory extends TeXFileSystemInputDirectory implements ITeXOutputDirectory

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

Constructors

ConstructorDescription
TeXFileSystemOutputDirectory(String basePath)Creates new instance.

Methods

MethodDescription
getOutputFile(String fileName, String[] fullName)Returns the stream to write to.

TeXFileSystemOutputDirectory(String basePath)

public TeXFileSystemOutputDirectory(String basePath)

Creates new instance.

Parameters:

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

getOutputFile(String fileName, String[] fullName)

public final OutputStream getOutputFile(String fileName, String[] fullName)

Returns the stream to write to.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe file name.
fullNamejava.lang.String[]The full file name.

Returns: java.io.OutputStream - The stream.