com.aspose.tex

Interface IInputWorkingDirectory

    • Method Detail

      • getFile

        InputStream getFile(String fileName,
                            String[] fullName,
                            boolean searchSubdirectories)
                     throws IOException

        Returns the stream to read from.

        Parameters:
        fileName - The file name.
        fullName - The full file name.
        searchSubdirectories - Indicates whether to look for a file in subdirectories.
        Returns:
        The stream.
        Throws:
        IOException - when the file can't be retrieved.
      • close

        void close()
            throws IOException

        Disposes the directory.

        Throws:
        IOException - when closing attempt fails.