@ Override protected void doRename ( final FileObject newfile ) throws Exception { AludraLocalFile newLocalFile = ( AludraLocalFile ) FileObjectUtils . getAbstractFileObject ( newfile ) ; if ( ! file . renameTo ( newLocalFile . getLocalFile ( ) ) ) { throw new FileSystemException ( "vfs.provider.local/rename-file.error" , new String [ ] { file . toString ( ) , newfile . toString ( ) } ) ; } }
rename this file