C# Class Simpl.Fundamental.PlatformSpecifics.FundamentalPlatformSpecificsImpl

Inheritance: IFundamentalPlatformSpecifics
Mostrar archivo Open project: ecologylab/simplCSharp

Public Methods

Method Description
Connect ( IConnectionHelper connectionHelper, string userAgent, int connectionTimeout, int readTimeout, PURLConnection purlConnection ) : void
CreateDirectory ( string uri ) : Task
CreateFile ( string uri ) : Task
GenerateStreamReaderFromFile ( string url ) : Task
GetDirFullNameFromFile ( object file ) : string
GetDirectoriesFromDirectory ( string dir ) : Task
GetFilesFromDirectory ( string dir, string fileType ) : Task
GetUriLeftPart ( ParsedUri parsedUri ) : string
NetworkConnect ( IConnectionHelperJustRemote connectionHelper, string userAgent, PURLConnection purlConnection, int connectionTimeout = ParsedUri.CONNECT_TIMEOUT, int readTimeout = ParsedUri.READ_TIMEOUT ) : void
OpenFileReadStream ( object file ) : Task
OpenFileReadStream ( object file, Encoding encoding ) : Task
OpenFileWriteStream ( object file ) : Task

Private Methods

Method Description
OpenFileReadStreamAsync ( object file ) : Task
OpenFileWriteStreamAsync ( object file ) : Task

Method Details

Connect() public method

public Connect ( IConnectionHelper connectionHelper, string userAgent, int connectionTimeout, int readTimeout, PURLConnection purlConnection ) : void
connectionHelper IConnectionHelper
userAgent string
connectionTimeout int
readTimeout int
purlConnection Simpl.Fundamental.Net.PURLConnection
return void

CreateDirectory() public method

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

CreateFile() public method

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

GenerateStreamReaderFromFile() public method

public GenerateStreamReaderFromFile ( string url ) : Task
url string
return Task

GetDirFullNameFromFile() public method

public GetDirFullNameFromFile ( object file ) : string
file object
return string

GetDirectoriesFromDirectory() public method

public GetDirectoriesFromDirectory ( string dir ) : Task
dir string
return Task

GetFilesFromDirectory() public method

public GetFilesFromDirectory ( string dir, string fileType ) : Task
dir string
fileType string
return Task

GetUriLeftPart() public method

public GetUriLeftPart ( ParsedUri parsedUri ) : string
parsedUri Simpl.Fundamental.Net.ParsedUri
return string

NetworkConnect() public method

public NetworkConnect ( IConnectionHelperJustRemote connectionHelper, string userAgent, PURLConnection purlConnection, int connectionTimeout = ParsedUri.CONNECT_TIMEOUT, int readTimeout = ParsedUri.READ_TIMEOUT ) : void
connectionHelper IConnectionHelperJustRemote
userAgent string
purlConnection Simpl.Fundamental.Net.PURLConnection
connectionTimeout int
readTimeout int
return void

OpenFileReadStream() public method

public OpenFileReadStream ( object file ) : Task
file object
return Task

OpenFileReadStream() public method

public OpenFileReadStream ( object file, Encoding encoding ) : Task
file object
encoding System.Text.Encoding
return Task

OpenFileWriteStream() public method

public OpenFileWriteStream ( object file ) : Task
file object
return Task