C# Class Deveel.Data.Store.LocalFileSystem

Inheritance: IFileSystem
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

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

Private Methods

Method Description
IFileSystem ( string path ) : IFile
IFileSystem ( string path, bool readOnly ) : IFile

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 fileName ) : LocalFile
fileName string
return LocalFile

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 fileName, bool readOnly ) : LocalFile
fileName string
readOnly bool
return LocalFile

RenameFile() public method

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