public class InputFileSystemDirectory extends Object implements IInputWorkingDirectory
Implements the regular file system's method for getting a file stream to read from.
Constructor and Description |
---|
InputFileSystemDirectory(String basePath)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Disposes the instance.
|
TeXInputStream |
getFile(String fileName,
String[] fullName,
boolean searchSubdirectories)
Returns the stream to read from.
|
public InputFileSystemDirectory(String basePath)
Creates new instance.
basePath
- The base path of the directory.public TeXInputStream getFile(String fileName, String[] fullName, boolean searchSubdirectories) throws IOException
Returns the stream to read from.
getFile
in interface IInputWorkingDirectory
fileName
- The file name.fullName
- The full file name.searchSubdirectories
- Indicates whether to look for a file in subdirectories.fullName
parameter.IOException
- when the file can't be retrieved.public void close()
Disposes the instance.
close
in interface IInputWorkingDirectory
Copyright © 2022 Aspose. All Rights Reserved.