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, String[] fullName)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, String[] fullName)

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

Returns the stream to write to.

Parameters:

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

Returns: java.io.OutputStream - The stream.

close()

public void close()

Disposes the instance.