IInputWorkingDirectory
public interface IInputWorkingDirectory
Interface of generalized input working directory.
Methods
Method | Description |
---|---|
getFile(String fileName, boolean searchSubdirectories) | Returns the stream to read from. |
close() | Disposes the directory. |
getFile(String fileName, boolean searchSubdirectories)
public abstract TeXInputStream getFile(String fileName, boolean searchSubdirectories)
Returns the stream to read from. MUST NOT return a null object. In case a stream cannot be returned, it MUST return an NamedInputStream object with a null Stream property value instead.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | The file name. |
searchSubdirectories | boolean | Indicates whether to look for a file in subdirectories. |
Returns: TeXInputStream - The named stream.
close()
public abstract void close()
Disposes the directory.