FileUtils.

MoveFile(string, string, Encoding, FilterSetCollection) Method

Summary

Moves a file while replacing the tokens identified by the given NAnt.Contrib.Types.FilterSetCollection.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Util
Containing Type
FileUtils

Syntax

public static void MoveFile(string sourceFileName, string destinationFileName, Encoding encoding, FilterSetCollection filtersets)

Parameters

Name Type Description
sourceFileName string The file to move.
destinationFileName string The name of the destination file.
encoding Encoding The System.Text.Encoding used when filter-copying the file.
filtersets FilterSetCollection The collection of filtersets that should be applied to the file.

Return Value

Type Description
void