Lucene.Net 1.4.3 Class Library

CompoundFileReader.RenameFile Method 

Renames an existing file in the directory. If a file already exists with the new name, then it is replaced. This replacement should be atomic.

public override void RenameFile(
   string from,
   string to
);

See Also

CompoundFileReader Class | Lucene.Net.Index Namespace