Hi!
> Is there any simple way to rename a file?
>   
        FileObject foNew = VFS.getManager().resolveFile("abcNew.txt");
        VFS.getManager().resolveFile("abc.txt").moveTo(foNew);

moveTo issues a "copyTo/delete" or "move" operation depending if its on
the same filesystem or not.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to