IInputWorkingDirectory

public interface IInputWorkingDirectory

Interface of generalized input working directory.

Methods

MethodDescription
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:

ParameterTypeDescription
fileNamejava.lang.StringThe file name.
searchSubdirectoriesbooleanIndicates whether to look for a file in subdirectories.

Returns: TeXInputStream - The named stream.

close()

public abstract void close()

Disposes the directory.