Now GroupDocs.Comparison uses the implementation for creating temporary files and directories.
Use it in the next way:
finalTemporaryFileManagertemporaryFileManager=TemporaryFileManagerFactory.getInstance();finalPathtempFile=temporaryFileManager.createTempFile("temp.txt");// Do something with the file
temporaryFileManager.delete(tempFile);
Note
Default implementation creates temporary files and directories in a directory specified by java.io.tmpdir property.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.