On Jan 10, 2014, at 8:54 AM, Henry Clout <[email protected]> wrote:

> Hi Sergey.
> 
> I've created a patch to implement the transferTo(File) functionality Graham 
> was describing.
> 
> https://issues.apache.org/jira/browse/CXF-5489

Just a quick look at the patch.   Likely not something we’d apply.  We have a 
few util classes already that handle some of this.  IOUtils, FileUtils, etc…    
Not really sure we need the interface for this either.  Need to think about 
that part a bit more.

Dan


> It's not the *most* beautiful thing I've ever written, but it's the best I 
> could do whilst keeping to the interface contracts.  I've tested it against 
> 2.7.5 which is what we're using with our app, the patch is for the current 
> trunk build.
> 
> Could you let me know if this is something that could be included in the 
> codebase please?
> 
> Thanks,
> 
> Henry
> 
> 
>> 
>> ---------- Forwarded message ----------
>> From: Sergey Beryozkin <[email protected]>
>> Date: 7 January 2014 11:57
>> Subject: Re: Accessing temporary file name of attachments
>> To: "[email protected]" <[email protected]>
>> 
>> 
>> Hi
>> It may make sense indeed to simplify an access to the underlying temp file
>> or perhaps make the naming more configurable,
>> I'm not sure yet how this can be done but hope we can come up with some
>> solution
>> Thanks, Sergey
>> 
> 

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to