commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Barrett" <JBarr...@sawyermedia.com>
Subject [vfs] rename a file?
Date Fri, 28 Feb 2003 02:06:16 GMT
Is there no way to rename a file via a FileObject?  It looks like the only way to do it is
create a new FileObject w/ the name you want, and do a copyFrom.  Is that true?

If it's true, and copyFrom doesn't check to see if it's copying the same file contents to
shortcircuit the copy, it sort of presents a performance issue for large files.

thanks,
+jeff

Mime
View raw message