Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Package Twoorb.FileSystem

Namespaces

package  Editor
 

Classes

class  FileService
 A file service utility for easy handling of files. Can be extended with different services(for example: FTP; AWSS3) More...
 
class  FileServiceAWSS3
 File service extension for Amazon S3 service http://aws.amazon.com/s3/ More...
 
class  FileServiceFTP
 File service extension for uploading files to an ftp server. More...
 
class  FileSystem
 File System asset for loading and using the different file system services More...
 
class  ServiceSettings
 Base class for containing the settings for a file system service More...
 
class  ServiceSettingsAWSS3
 The service settings for an Amazon S3 account http://aws.amazon.com/s3/ More...
 
class  ServiceSettingsFTP
 The service settings for the FTP Service More...
 

Functions

delegate void FileSystemDownloadEventHandler (bool success, string filePath)
 Event handler for a file download More...
 
delegate void FileSystemUploadEventHandler (bool success, string filePath)
 Event handler for a file upload More...
 
delegate void FileSystemListObjectsEventHandler (bool success, List< string > objectList)
 Event handler for a list objects operation More...
 
delegate void FileSystemProgressUpdateEventHandler (FileService.EOperationStatus operationStatus, string message)
 Event handler for progress updates More...
 
delegate void FileSystemGetDownloadUrlEventHandler (bool success, string downloadUrl)
 Event handler for getting a download url. More...
 
delegate void FileSystemGetDownloadUrlWithFormEventHandler (bool success, string downloadUrl, Hashtable formData)
 Event handler for getting a download url with a hashtable with headers. (Which could be used in a http request) More...
 
delegate void FileSystemInitializedEventHandler ()
 Event handler for initializing the file system More...
 

Function Documentation

delegate void Twoorb.FileSystem.FileSystemDownloadEventHandler ( bool  success,
string  filePath 
)

Event handler for a file download

Parameters
successIf the download succeeded
filePathThe filepath to the file
delegate void Twoorb.FileSystem.FileSystemGetDownloadUrlEventHandler ( bool  success,
string  downloadUrl 
)

Event handler for getting a download url.

Parameters
successIf the operation was a success
downloadUrlThe download url
delegate void Twoorb.FileSystem.FileSystemGetDownloadUrlWithFormEventHandler ( bool  success,
string  downloadUrl,
Hashtable  formData 
)

Event handler for getting a download url with a hashtable with headers. (Which could be used in a http request)

Parameters
successIf the operation was a success
downloadUrlThe download url
formDatathe form data
delegate void Twoorb.FileSystem.FileSystemInitializedEventHandler ( )

Event handler for initializing the file system

delegate void Twoorb.FileSystem.FileSystemListObjectsEventHandler ( bool  success,
List< string >  objectList 
)

Event handler for a list objects operation

Parameters
successIf the list objects operations
objectListThe list of objects. This will be null of success is false
delegate void Twoorb.FileSystem.FileSystemProgressUpdateEventHandler ( FileService.EOperationStatus  operationStatus,
string  message 
)

Event handler for progress updates

Parameters
operationStatusThe operation status
messageThe message of the progress update
delegate void Twoorb.FileSystem.FileSystemUploadEventHandler ( bool  success,
string  filePath 
)

Event handler for a file upload

Parameters
successIf the upload succeeded
filePathThe filepath to the file