public class OutputFileSystemDirectory extends InputFileSystemDirectory implements IOutputWorkingDirectory
Implements the regular file system's method for getting a file stream to write to.
| Constructor and Description |
|---|
OutputFileSystemDirectory(String basePath)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Disposes the instance.
|
OutputStream |
getOutputFile(String fileName,
String[] fullName)
Returns the stream to write to.
|
getFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilepublic OutputFileSystemDirectory(String basePath)
Creates new instance.
basePath - The base path of the directory.public OutputStream getOutputFile(String fileName, String[] fullName) throws IOException
Returns the stream to write to.
getOutputFile in interface IOutputWorkingDirectoryfileName - The file name. The full file name via fullName parameter.fullName - The full file name.IOException - when file can't be retrieved.public void close()
Disposes the instance.
close in interface IInputWorkingDirectoryclose in class InputFileSystemDirectoryCopyright © 2021 Aspose. All Rights Reserved.