C# Class CmisSync.Lib.Storage.FileSystem.FileSystemInfoFactory

Wrapps all interfaced methods and calls the Systems.IO classes
Inheritance: IFileSystemInfoFactory
Show file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
CreateConflictFileInfo ( IFileInfo file ) : IFileInfo

Creates a conflict file info for the given file.

CreateDirectoryInfo ( string path ) : IDirectoryInfo

Creates the directory info.

CreateDownloadCacheFileInfo ( System.Guid uuid ) : IFileInfo

Creates the download cache file info based on a uuid.

CreateDownloadCacheFileInfo ( IFileInfo file ) : IFileInfo

Creates a download cache file info based on the given file instance.

CreateFileInfo ( string path ) : IFileInfo

Creates the file info.

IsDirectory ( string path ) : bool?

Determines whether the path is an existing directory or an existing file or does not exist.

Method Details

CreateConflictFileInfo() public method

Creates a conflict file info for the given file.
public CreateConflictFileInfo ( IFileInfo file ) : IFileInfo
file IFileInfo File for which a new conflict file should be created.
return IFileInfo

CreateDirectoryInfo() public method

Creates the directory info.
public CreateDirectoryInfo ( string path ) : IDirectoryInfo
path string For this path.
return IDirectoryInfo

CreateDownloadCacheFileInfo() public method

Creates the download cache file info based on a uuid.
public CreateDownloadCacheFileInfo ( System.Guid uuid ) : IFileInfo
uuid System.Guid UUID of the file.
return IFileInfo

CreateDownloadCacheFileInfo() public method

Creates a download cache file info based on the given file instance.
public CreateDownloadCacheFileInfo ( IFileInfo file ) : IFileInfo
file IFileInfo File which should be updated.
return IFileInfo

CreateFileInfo() public method

Creates the file info.
public CreateFileInfo ( string path ) : IFileInfo
path string For this path.
return IFileInfo

IsDirectory() public method

Determines whether the path is an existing directory or an existing file or does not exist.
public IsDirectory ( string path ) : bool?
path string Full path.
return bool?