Method | Description | |
---|---|---|
Dispose ( ) : void |
Release wrapper resources
|
|
GetSystemWrapperSchemes ( ) : ICollection |
Gets the list of built-in stream wrapper schemes.
|
|
GetWrapper ( |
Retreive the corresponding StreamWrapper respectind the scheme portion of the given path. If no scheme is specified, an instance of FileStreamWrapper is returned.
|
|
Listing ( string path, StreamListingOptions options, |
||
MakeDirectory ( string path, int accessMode, StreamMakeDirectoryOptions options, |
StreamMakeDirectoryOptions for the list of additional options. | |
OnClose ( |
Wrapper may be notified of closing a stream using this method.
|
|
OnStat ( |
Wrapper may override the
|
|
Open ( |
||
ParseMode ( string mode, StreamOpenOptions options, FileMode &fileMode, FileAccess &fileAccess, StreamAccessOptions &accessOptions ) : bool |
Parse the mode argument passed to
|
|
RegisterSystemWrapper ( |
Register a new system wrapper
|
|
RemoveDirectory ( string path, StreamRemoveDirectoryOptions options, |
||
Rename ( string fromPath, string toPath, StreamRenameOptions options, |
||
Stat ( string path, StreamStatOptions options, |
||
Unlink ( string path, StreamUnlinkOptions options, |
StreamUnlinkOptions for the list of additional options. |
Method | Description | |
---|---|---|
CheckOptions ( StreamAccessOptions accessOptions, FileAccess supportedAccess, string path ) : bool |
Checks whether the supported read/write access matches the reqiured one.
|
|
GetWrapperInternal ( |
Search the lists of registered StreamWrappers to find the appropriate wrapper for a given scheme. When the scheme is empty, the FileStreamWrapper is returned.
|
|
ParseMode ( string mode, StreamOpenOptions options, StreamAccessOptions &accessOptions ) : bool |
Overload of ParseMode(string, StreamOpenOptions, out FileMode, out FileAccess, out StreamAccessOptions) without the
|
|
StatUnsupported ( ) : |
Reports warning and creates invalid stat.
|
public static GetSystemWrapperSchemes ( ) : ICollection |
||
return | ICollection |
public static GetWrapper ( |
||
ctx | Current runtime context. | |
scheme | string | The scheme portion of an URL. |
options | StreamOptions | Additional |
return |
public Listing ( string path, StreamListingOptions options, |
||
path | string | |
options | StreamListingOptions | |
context | ||
return | string[] |
public MakeDirectory ( string path, int accessMode, StreamMakeDirectoryOptions options, |
||
path | string | |
accessMode | int | |
options | StreamMakeDirectoryOptions | |
context | ||
return | bool |
public OnStat ( |
||
stream | The Wrapper-opened stream to be |
|
return |
public abstract Open ( |
||
ctx | ||
path | string | |
mode | string | |
options | StreamOpenOptions | |
context | ||
return |
public ParseMode ( string mode, StreamOpenOptions options, FileMode &fileMode, FileAccess &fileAccess, StreamAccessOptions &accessOptions ) : bool | ||
mode | string | Mode as passed to |
options | StreamOpenOptions | The |
fileMode | FileMode | Resulting |
fileAccess | FileAccess | Resulting |
accessOptions | StreamAccessOptions | Resulting |
return | bool |
public static RegisterSystemWrapper ( |
||
wrapper | An instance of the corresponding StreamWrapper descendant. | |
return | bool |
public RemoveDirectory ( string path, StreamRemoveDirectoryOptions options, |
||
path | string | |
options | StreamRemoveDirectoryOptions | |
context | ||
return | bool |
public Rename ( string fromPath, string toPath, StreamRenameOptions options, |
||
fromPath | string | |
toPath | string | |
options | StreamRenameOptions | |
context | ||
return | bool |
public Stat ( string path, StreamStatOptions options, |
||
path | string | |
options | StreamStatOptions | |
context | ||
streamStat | bool | |
return |
public Unlink ( string path, StreamUnlinkOptions options, |
||
path | string | |
options | StreamUnlinkOptions | |
context | ||
return | bool |