[jcifs] renameTo

roy-jcifs at xemaps.com roy-jcifs at xemaps.com
Mon May 22 17:10:33 GMT 2006


Hello,

Just a few questions. 

Is SmbFile.renameTo atomic?  
Does it return after a successful rename or does it spawn a thread and return right away?  

The javadoc is also confusing since the actual method returns void, but the javadoc says that a boolean will be returned.  Is the intended behavior supposed to return a boolean?  Will it not throw an SmbException if the rename failed?

Thank you,

Roy


More information about the jcifs mailing list