[jcifs] SmbFile.delete() method return type
svella at identityautomation.com
Fri Feb 27 08:26:40 MST 2015
If it fails it will throw an exception, which you should catch and handle.
On Fri, Feb 27, 2015 at 7:57 AM, M. D. <moder at abv.bg> wrote:
> I have a question for the community.
> Since SmbFile.delete() returns void instead of boolean as is java.io.File,
> is it safe to assume that successfully returning from SmbFile.delete()
> would indicate that the file was actually deleted? Would there be any need
> do additional checks for existance with SmbFile.exists() afterwards?
> Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jCIFS