C# Class Batman.Core.FileSystem.Local.WebFile

Basic web file class
Inheritance: IFile
Exibir arquivo Open project: JaCraig/Batman

Public Methods

Method Description
Delete ( ) : void
MoveTo ( IDirectory Directory ) : void
Read ( ) : string
ReadBinary ( ) : byte[]
Rename ( string NewName ) : void
ToString ( ) : string
WebFile ( Uri File ) : System

Constructor

WebFile ( string Path ) : System

Constructor

Write ( byte Content, System Mode = FileMode.Create ) : void
Write ( string Content, System Mode = FileMode.Create, Encoding Encoding = null ) : void

Method Details

Delete() public method

public Delete ( ) : void
return void

MoveTo() public method

public MoveTo ( IDirectory Directory ) : void
Directory IDirectory
return void

Read() public method

public Read ( ) : string
return string

ReadBinary() public method

public ReadBinary ( ) : byte[]
return byte[]

Rename() public method

public Rename ( string NewName ) : void
NewName string
return void

ToString() public method

public ToString ( ) : string
return string

WebFile() public method

Constructor
public WebFile ( Uri File ) : System
File System.Uri File to use
return System

WebFile() public method

Constructor
public WebFile ( string Path ) : System
Path string Path to the file
return System

Write() public method

public Write ( byte Content, System Mode = FileMode.Create ) : void
Content byte
Mode System
return void

Write() public method

public Write ( string Content, System Mode = FileMode.Create, Encoding Encoding = null ) : void
Content string
Mode System
Encoding System.Text.Encoding
return void