On 10/1/11 7:07 PM, Felix Knecht wrote:
On 10/01/2011 06:49 PM, Emmanuel Lecharny wrote:
Yes. We may also consider commons-file, there might be some convenient
methods there.
Your talking about commons-io forceDelete, forceMkdir?
I'm not sure if also some renameTo or createFile do exist. Would you
preferre in this case a mix of commons-io methods and -for not
existing ones in commons-io - if (!File ...) or use all of the same?
I was thinking about methods like deleteQuietly which swallow the
Exception if any, and returns false if the file wasn't deleted.
But here, it's all about eating our own dog food.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com