commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yungwei Chen <yung...@resolvity.com>
Subject RE: [io] Are FileUtils and IOUtils thread safe?
Date Mon, 01 Oct 2012 17:06:13 GMT
No. 

-----Original Message-----
From: jcarman@carmanconsulting.com [mailto:jcarman@carmanconsulting.com] On Behalf Of James
Carman
Sent: Monday, October 01, 2012 12:03 PM
To: Commons Users List
Subject: Re: [io] Are FileUtils and IOUtils thread safe?

Would you have two different threads attempting to write to the same file?

On Mon, Oct 1, 2012 at 12:55 PM, Yungwei Chen <yungwei@resolvity.com> wrote:
> Specifically FileUtils.writeStringToFile(file, data, encoding, false), which in turn
calls IOUtils.write().
> Thanks.
>
> -----Original Message-----
> From: Daniel Pitts [mailto:coloraura.com@gmail.com]
> Sent: Saturday, September 29, 2012 1:10 AM
> To: Commons Users List
> Subject: Re: [io] Are FileUtils and IOUtils thread safe?
>
> On 9/28/12 8:20 PM, Yungwei Chen wrote:
>> Hi,
>>
>> I would like to know if FileUtils and IOUtils are thread safe. Thanks.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
> Thread safe in what way? Which methods? What are your use-cases?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message