You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Yaniv Kunda (JIRA)" <ji...@apache.org> on 2015/09/16 11:06:45 UTC

[jira] [Created] (TIKA-1734) Use java.nio.file.Path in TemporaryResources

Yaniv Kunda created TIKA-1734:
---------------------------------

             Summary: Use java.nio.file.Path in TemporaryResources
                 Key: TIKA-1734
                 URL: https://issues.apache.org/jira/browse/TIKA-1734
             Project: Tika
          Issue Type: Sub-task
          Components: core
            Reporter: Yaniv Kunda
            Priority: Minor
             Fix For: 1.11


This will provide support for the new api for uses who need it, and provide better information in I/O operations, e.g. detailed exception if temporary file deletion fails.

- used Path and methods in java.nio.file.Files internally 
- add setTemporaryFileDirectory(Path) method
- add createTempFile() method (mimicking Files.createTempFile)
- add unit test for proper deletion of temp files



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)