FileUtils Class

Summary

Groups a set of useful file manipulation methods.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Util
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["FileUtils"] class Type type-node

Syntax

public sealed class FileUtils

Methods

Name Value Summary
CopyFile(string, string, Encoding, FilterSetCollection) void
Copies a file while replacing the tokens identified by the given NAnt.Contrib.Types.FilterSetCollection.
static
GetRelativePath(string, string) string
Given an absolute directory and an absolute file name, returns a relative file name.
static
MoveFile(string, string, Encoding, FilterSetCollection) void
Moves a file while replacing the tokens identified by the given NAnt.Contrib.Types.FilterSetCollection.
static