commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [io] Are FileUtils and IOUtils thread safe?
Date Sat, 29 Sep 2012 11:49:57 GMT
On 29 September 2012 04:20, Yungwei Chen <yungwei@resolvity.com> wrote:
> Hi,
>
> I would like to know if FileUtils and IOUtils are thread safe. Thanks.

The classes themselves are immutable and so are thread safe.

However, many of them use JVM classes that may not be thread safe.

Also, methods that depend on the state of the file system may not be
immune to external influences.

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


Mime
View raw message