commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Breu" <Konstantin.B...@gmx.net>
Subject AW: [VFS] Rename file...
Date Mon, 18 Dec 2006 07:20:46 GMT
You can use FileObject.moveTo(FileObject destFile)


Cheers, 
Konstantin

-----Urspr√ľngliche Nachricht-----
Von: Nadim Murr [mailto:nmurr@ccc.com.lb] 
Gesendet: Montag, 18. Dezember 2006 07:47
An: commons-user@jakarta.apache.org
Betreff: [VFS] Rename file...

Hi,

 

I'm using the VFS API and I need to rename a file... does anyone know
how can I do that?

In FileObject class I found the method boolean canRenameTo(FileObject
obj) but how can I actually rename the file????

 

Thank you.



---------------------------------------------------------------------
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