public class TeXFileSystemInputDirectory extends Object implements ITeXInputDirectory
Implements the regular file system's method for getting a file stream to read from.
Constructor and Description |
---|
TeXFileSystemInputDirectory(String basePath)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Disposes the instance.
|
void |
dispose()
Deprecated.
|
InputStream |
getFile(String fileName,
String[] fullName)
Returns the stream to read from.
|
InputStream |
getFile(String fileName,
String[] fullName,
boolean searchSubdirectories)
Returns the stream to read from.
|
public TeXFileSystemInputDirectory(String basePath)
Creates new instance.
basePath
- The base path of the directory.public final InputStream getFile(String fileName, String[] fullName)
Returns the stream to read from.
getFile
in interface ITeXInputDirectory
fileName
- The file name.fullName
- The full file name.public final InputStream getFile(String fileName, String[] fullName, boolean searchSubdirectories)
Returns the stream to read from.
getFile
in interface ITeXInputDirectory
fileName
- The file name.fullName
- The full file name.searchSubdirectories
- Indicates whether to look for a file in subdirectories.public void close()
Disposes the instance.
close
in interface Closeable
close
in interface AutoCloseable
@Deprecated public void dispose()
Disposes the instance.
Copyright © 2023 Aspose. All Rights Reserved.