C# Класс Deveel.Data.Store.LocalFileSystem

Наследование: IFileSystem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CombinePath ( string path1, string path2 ) : string
CreateDirectory ( string path ) : void
CreateFile ( string fileName ) : LocalFile
DeleteFile ( string path ) : bool
DirectoryExists ( string path ) : bool
FileExists ( string path ) : bool
GetFileSize ( string path ) : long
OpenFile ( string fileName, bool readOnly ) : LocalFile
RenameFile ( string sourcePath, string destPath ) : bool

Приватные методы

Метод Описание
IFileSystem ( string path ) : IFile
IFileSystem ( string path, bool readOnly ) : IFile

Описание методов

CombinePath() публичный Метод

public CombinePath ( string path1, string path2 ) : string
path1 string
path2 string
Результат string

CreateDirectory() публичный Метод

public CreateDirectory ( string path ) : void
path string
Результат void

CreateFile() публичный Метод

public CreateFile ( string fileName ) : LocalFile
fileName string
Результат LocalFile

DeleteFile() публичный Метод

public DeleteFile ( string path ) : bool
path string
Результат bool

DirectoryExists() публичный Метод

public DirectoryExists ( string path ) : bool
path string
Результат bool

FileExists() публичный Метод

public FileExists ( string path ) : bool
path string
Результат bool

GetFileSize() публичный Метод

public GetFileSize ( string path ) : long
path string
Результат long

OpenFile() публичный Метод

public OpenFile ( string fileName, bool readOnly ) : LocalFile
fileName string
readOnly bool
Результат LocalFile

RenameFile() публичный Метод

public RenameFile ( string sourcePath, string destPath ) : bool
sourcePath string
destPath string
Результат bool