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

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

Private Properties

Свойство Тип Описание
GetParentFolder IFolder

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

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

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

Метод Описание
GetParentFolder ( string path, string &fileName ) : IFolder

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

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 path ) : IFile
path string
Результат IFile

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 path, bool readOnly ) : IFile
path string
readOnly bool
Результат IFile

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

public PortableFileSystem ( ) : System
Результат System

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

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