C# Class UnityPlatformWindowsPhone.WindowsPhoneFileSystem

Inheritance: Unity.Core.Storage.FileSystem.AbstractFileSystem, IAppverseService
Mostrar archivo Open project: Appverse/appverse-mobile

Public Methods

Method Description
CopyFromRemote ( string url, string toPath ) : Task
CopyFromResources ( string fromPath, string toPath ) : Task
CreateDirectory ( string directoryName ) : Task
CreateDirectory ( string directoryName, Unity.Core.Storage.FileSystem.DirectoryData baseDirectory ) : Task
CreateFile ( string fileName ) : Task
CreateFile ( string fileName, Unity.Core.Storage.FileSystem.DirectoryData baseDirectory ) : Task
DeleteDirectory ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
DeleteFile ( FileData file ) : Task
ExistsDirectory ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
ExistsFile ( FileData file ) : Task
GetDirectoryRoot ( ) : Task
ListDirectories ( ) : Task
ListDirectories ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
ListFiles ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
ReadFile ( FileData file ) : Task
StoreFile ( string directoryPath, string fileName, byte fileData ) : Task
WindowsPhoneFileSystem ( ) : System
WriteFile ( FileData file, byte contents, bool append ) : Task

Private Methods

Method Description
CreateFolderTree ( Unity.Core.Storage.FileSystem.DirectoryData baseDirectory ) : Task
GetDirectoryPath ( Unity.Core.Storage.FileSystem.DirectoryData folderObject ) : string
GetFilePath ( FileData fileObject ) : string
GetItemPath ( string path ) : string
GetStorageItem ( string path, bool bIsDirectory ) : Task

Method Details

CopyFromRemote() public method

public CopyFromRemote ( string url, string toPath ) : Task
url string
toPath string
return Task

CopyFromResources() public method

public CopyFromResources ( string fromPath, string toPath ) : Task
fromPath string
toPath string
return Task

CreateDirectory() public method

public CreateDirectory ( string directoryName ) : Task
directoryName string
return Task

CreateDirectory() public method

public CreateDirectory ( string directoryName, Unity.Core.Storage.FileSystem.DirectoryData baseDirectory ) : Task
directoryName string
baseDirectory Unity.Core.Storage.FileSystem.DirectoryData
return Task

CreateFile() public method

public CreateFile ( string fileName ) : Task
fileName string
return Task

CreateFile() public method

public CreateFile ( string fileName, Unity.Core.Storage.FileSystem.DirectoryData baseDirectory ) : Task
fileName string
baseDirectory Unity.Core.Storage.FileSystem.DirectoryData
return Task

DeleteDirectory() public method

public DeleteDirectory ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
directory Unity.Core.Storage.FileSystem.DirectoryData
return Task

DeleteFile() public method

public DeleteFile ( FileData file ) : Task
file FileData
return Task

ExistsDirectory() public method

public ExistsDirectory ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
directory Unity.Core.Storage.FileSystem.DirectoryData
return Task

ExistsFile() public method

public ExistsFile ( FileData file ) : Task
file FileData
return Task

GetDirectoryRoot() public method

public GetDirectoryRoot ( ) : Task
return Task

ListDirectories() public method

public ListDirectories ( ) : Task
return Task

ListDirectories() public method

public ListDirectories ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
directory Unity.Core.Storage.FileSystem.DirectoryData
return Task

ListFiles() public method

public ListFiles ( Unity.Core.Storage.FileSystem.DirectoryData directory ) : Task
directory Unity.Core.Storage.FileSystem.DirectoryData
return Task

ReadFile() public method

public ReadFile ( FileData file ) : Task
file FileData
return Task

StoreFile() public method

public StoreFile ( string directoryPath, string fileName, byte fileData ) : Task
directoryPath string
fileName string
fileData byte
return Task

WindowsPhoneFileSystem() public method

public WindowsPhoneFileSystem ( ) : System
return System

WriteFile() public method

public WriteFile ( FileData file, byte contents, bool append ) : Task
file FileData
contents byte
append bool
return Task