commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [VFS] FileObject moveTo() with overwrite?
Date Tue, 21 Jun 2005 06:30:44 GMT
manco wrote:
>It would be nice if there was a flag that would allow a move with overwrite.
>public void moveTo(FileObject destFile)            throws FileSystemException
>  
The hint with copyFrom was good enough, I think we do not need this 
additional flag as copyFrom dont have it either.
I changed moveTo to delete the destination (and all its children) if it 
exists.

---
Mario


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


Mime
View raw message