C# Class Deveel.Data.Store.LocalFileSystem

Inheritance: IFileSystem
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
IFileSystem ( string path ) : IFile
IFileSystem ( string path, bool readOnly ) : IFile

Method Details

CombinePath() public méthode

public CombinePath ( string path1, string path2 ) : string
path1 string
path2 string
Résultat string

CreateDirectory() public méthode

public CreateDirectory ( string path ) : void
path string
Résultat void

CreateFile() public méthode

public CreateFile ( string fileName ) : LocalFile
fileName string
Résultat LocalFile

DeleteFile() public méthode

public DeleteFile ( string path ) : bool
path string
Résultat bool

DirectoryExists() public méthode

public DirectoryExists ( string path ) : bool
path string
Résultat bool

FileExists() public méthode

public FileExists ( string path ) : bool
path string
Résultat bool

GetFileSize() public méthode

public GetFileSize ( string path ) : long
path string
Résultat long

OpenFile() public méthode

public OpenFile ( string fileName, bool readOnly ) : LocalFile
fileName string
readOnly bool
Résultat LocalFile

RenameFile() public méthode

public RenameFile ( string sourcePath, string destPath ) : bool
sourcePath string
destPath string
Résultat bool