Relativity.DataExchange.Io.FileWrap
Represents a class object wrapper for the File class.
namespace Relativity.DataExchange.Io
{
internal class FileWrap : IFile
{
public void Copy(string sourceFileName, string destFileName);
public void Copy(string sourceFileName, string destFileName, bool overwrite);
public int CountLinesInFile(string path);
public FileStream Create(string path);
public FileStream Create(string path, bool append);
public FileStream (string path, FileMode mode, FileAccess access, FileShare share);
public StreamWriter CreateText(string path);
public void Delete(string path);
public bool Exists(string path);
public long GetFileSize(string fileName);
public void Move(string sourceFileName, string destFileName);
public string ReadAllText(string path);
public FileStream ReopenAndTruncate(string fileName, long length);
}
}