RE: Adding API support for Java 7's java.nio.file.Path

2015-09-08 Thread Yaniv Kunda
@tika.apache.org *Subject:* RE: Adding API support for Java 7's java.nio.file.Path I’ve formalized this issue here: https://issues.apache.org/jira/browse/TIKA-1726 Please take the time and share your opinion on the new method names, so I can go ahead a provide some patches. *From:* Yaniv Kunda

RE: Adding API support for Java 7's java.nio.file.Path

2015-09-01 Thread Yaniv Kunda
*To:* dev@tika.apache.org *Subject:* Re: Adding API support for Java 7's java.nio.file.Path I've already done that, I'm just waiting for the group's opinions on names for the new methods, especially the two that I've added to augment org.apache.tika.io.TemporaryResources#createTemporaryFile

Re: Adding API support for Java 7's java.nio.file.Path

2015-08-31 Thread Yaniv Kunda
gt;: > > > > > > From: Yaniv Kunda > > > Sent: August 29, 2015 2:21:23am PDT > > > To: dev@tika.apache.org > > > Subject: RE: Adding API support for Java 7's java.nio.file.Path > > > > > > In addition to the discussion I've raised about

RE: Adding API support for Java 7's java.nio.file.Path

2015-08-29 Thread Ken Krugler
From: Yaniv Kunda Sent: August 29, 2015 2:21:23am PDT To: dev@tika.apache.org Subject: RE: Adding API support for Java 7's java.nio.file.Path In addition to the discussion I've raised about the methods returning a File, I have another problem: Some of the methods that accept a File throw

RE: Adding API support for Java 7's java.nio.file.Path

2015-08-27 Thread Allison, Timothy B.
To: dev@tika.apache.org Subject: RE: Adding API support for Java 7's java.nio.file.Path I can point out several benefits of supporting the new API, in no particular order: - Exception handling: operations like File.delete return a boolean which provides less useful information if the operation failed

RE: Adding API support for Java 7's java.nio.file.Path

2015-08-27 Thread Yaniv Kunda
: Wednesday, August 26, 2015 5:31 PM To: dev@tika.apache.org Subject: RE: Adding API support for Java 7's java.nio.file.Path I can point out several benefits of supporting the new API, in no particular order: - Exception handling: operations like File.delete return a boolean which provides less useful

RE: Adding API support for Java 7's java.nio.file.Path

2015-08-26 Thread Yaniv Kunda
: Nick Burch [mailto:apa...@gagravarr.org] Sent: Wednesday, August 26, 2015 13:27 To: dev@tika.apache.org Subject: Re: Adding API support for Java 7's java.nio.file.Path On Wed, 26 Aug 2015, Yaniv Kunda wrote: I would like to propose adding support for Java 7’s java.nio.file.Path as an alternative

Adding API support for Java 7's java.nio.file.Path

2015-08-26 Thread Yaniv Kunda
I would like to propose adding support for Java 7’s java.nio.file.Path as an alternative to those methods in the API that deal with a java.io.File. This is pretty trivial for File as a param, as new overloaded methods/constructors can be added that accept a Path. A few questions arise: 1)

Re: Adding API support for Java 7's java.nio.file.Path

2015-08-26 Thread Nick Burch
On Wed, 26 Aug 2015, Yaniv Kunda wrote: I would like to propose adding support for Java 7’s java.nio.file.Path as an alternative to those methods in the API that deal with a java.io.File. Any chance you could briefly summarise what advantages this would give to us and/or our users? 1)