FileUtils.

MoveFile(string, string, FilterChain, Encoding, Encoding) Method

Summary

Moves a file filtering its content through the filter chain.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Util
Containing Type
FileUtils

Syntax

public static void MoveFile(string sourceFileName, string destFileName, FilterChain filterChain, Encoding inputEncoding, Encoding outputEncoding)

Parameters

Name Type Description
sourceFileName string The file to move.
destFileName string The file to move move to.
filterChain FilterChain Chain of filters to apply when moving, or null is no filters should be applied.
inputEncoding Encoding The encoding used to read the source file.
outputEncoding Encoding The encoding used to write the destination file.

Return Value

Type Description
void