C# Class Deveel.Data.Store.PortableFileSystem

Inheritance: IFileSystem
Show file Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
GetParentFolder IFolder

Public Methods

Method Description
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

Private Methods

Method Description
GetParentFolder ( string path, string &fileName ) : IFolder

Method Details

CombinePath() public method

public CombinePath ( string path1, string path2 ) : string
path1 string
path2 string
return string

CreateDirectory() public method

public CreateDirectory ( string path ) : void
path string
return void

CreateFile() public method

public CreateFile ( string path ) : IFile
path string
return IFile

DeleteFile() public method

public DeleteFile ( string path ) : bool
path string
return bool

DirectoryExists() public method

public DirectoryExists ( string path ) : bool
path string
return bool

FileExists() public method

public FileExists ( string path ) : bool
path string
return bool

GetFileSize() public method

public GetFileSize ( string path ) : long
path string
return long

OpenFile() public method

public OpenFile ( string path, bool readOnly ) : IFile
path string
readOnly bool
return IFile

PortableFileSystem() public method

public PortableFileSystem ( ) : System
return System

RenameFile() public method

public RenameFile ( string sourcePath, string destPath ) : bool
sourcePath string
destPath string
return bool