C# Class Google.GData.Client.HttpUtility

ファイルを表示 Open project: moljac/MonoMobile.Google.GData Class Usage Examples

Private Properties

Property Type Description
GetChar int
GetChar int
GetChars char[]
GetInt int
InitEntities void
NotEncoded bool
UrlEncodeChar void
UrlPathEncodeChar void
WriteCharBytes void

Public Methods

Method Description
HtmlAttributeEncode ( string s ) : string
HtmlAttributeEncode ( string s, TextWriter output ) : void
HtmlDecode ( string s ) : string

Decodes an HTML-encoded string and returns the decoded string.

HtmlDecode ( string s, TextWriter output ) : void

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.

HtmlEncode ( string s ) : string

HTML-encodes a string and returns the encoded string.

HtmlEncode ( string s, TextWriter output ) : void

HTML-encodes a string and sends the resulting output to a TextWriter output stream.

HttpUtility ( ) : System.Collections
ToString ( ) : string
UrlDecode ( byte bytes, Encoding e ) : string
UrlDecode ( byte bytes, int offset, int count, Encoding e ) : string
UrlDecode ( string str ) : string
UrlDecode ( string s, Encoding e ) : string
UrlDecodeToBytes ( byte bytes ) : byte[]
UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlDecodeToBytes ( string str ) : byte[]
UrlDecodeToBytes ( string str, Encoding e ) : byte[]
UrlEncode ( byte bytes ) : string
UrlEncode ( byte bytes, int offset, int count ) : string
UrlEncode ( string str ) : string
UrlEncode ( string s, Encoding Enc ) : string
UrlEncodeToBytes ( byte bytes ) : byte[]
UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlEncodeToBytes ( string str ) : byte[]
UrlEncodeToBytes ( string str, Encoding e ) : byte[]
UrlEncodeUnicode ( string str ) : string
UrlEncodeUnicodeToBytes ( string str ) : byte[]
UrlPathEncode ( string s ) : string

Private Methods

Method Description
GetChar ( byte bytes, int offset, int length ) : int
GetChar ( string str, int offset, int length ) : int
GetChars ( MemoryStream b, Encoding e ) : char[]
GetInt ( byte b ) : int
InitEntities ( ) : void
NotEncoded ( char c ) : bool
UrlEncodeChar ( char c, Stream result, bool isUnicode ) : void
UrlPathEncodeChar ( char c, Stream result ) : void
WriteCharBytes ( IList buf, char ch, Encoding e ) : void

Method Details

HtmlAttributeEncode() public static method

public static HtmlAttributeEncode ( string s ) : string
s string
return string

HtmlAttributeEncode() public static method

public static HtmlAttributeEncode ( string s, TextWriter output ) : void
s string
output System.IO.TextWriter
return void

HtmlDecode() public static method

Decodes an HTML-encoded string and returns the decoded string.
public static HtmlDecode ( string s ) : string
s string The HTML string to decode.
return string

HtmlDecode() public static method

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
public static HtmlDecode ( string s, TextWriter output ) : void
s string The HTML string to decode
output System.IO.TextWriter The TextWriter output stream containing the decoded string.
return void

HtmlEncode() public static method

HTML-encodes a string and returns the encoded string.
public static HtmlEncode ( string s ) : string
s string The text string to encode.
return string

HtmlEncode() public static method

HTML-encodes a string and sends the resulting output to a TextWriter output stream.
public static HtmlEncode ( string s, TextWriter output ) : void
s string The string to encode.
output System.IO.TextWriter The TextWriter output stream containing the encoded string.
return void

HttpUtility() public method

public HttpUtility ( ) : System.Collections
return System.Collections

ToString() public method

public ToString ( ) : string
return string

UrlDecode() public static method

public static UrlDecode ( byte bytes, Encoding e ) : string
bytes byte
e System.Text.Encoding
return string

UrlDecode() public static method

public static UrlDecode ( byte bytes, int offset, int count, Encoding e ) : string
bytes byte
offset int
count int
e System.Text.Encoding
return string

UrlDecode() public static method

public static UrlDecode ( string str ) : string
str string
return string

UrlDecode() public static method

public static UrlDecode ( string s, Encoding e ) : string
s string
e System.Text.Encoding
return string

UrlDecodeToBytes() public static method

public static UrlDecodeToBytes ( byte bytes ) : byte[]
bytes byte
return byte[]

UrlDecodeToBytes() public static method

public static UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
return byte[]

UrlDecodeToBytes() public static method

public static UrlDecodeToBytes ( string str ) : byte[]
str string
return byte[]

UrlDecodeToBytes() public static method

public static UrlDecodeToBytes ( string str, Encoding e ) : byte[]
str string
e System.Text.Encoding
return byte[]

UrlEncode() public static method

public static UrlEncode ( byte bytes ) : string
bytes byte
return string

UrlEncode() public static method

public static UrlEncode ( byte bytes, int offset, int count ) : string
bytes byte
offset int
count int
return string

UrlEncode() public static method

public static UrlEncode ( string str ) : string
str string
return string

UrlEncode() public static method

public static UrlEncode ( string s, Encoding Enc ) : string
s string
Enc System.Text.Encoding
return string

UrlEncodeToBytes() public static method

public static UrlEncodeToBytes ( byte bytes ) : byte[]
bytes byte
return byte[]

UrlEncodeToBytes() public static method

public static UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
return byte[]

UrlEncodeToBytes() public static method

public static UrlEncodeToBytes ( string str ) : byte[]
str string
return byte[]

UrlEncodeToBytes() public static method

public static UrlEncodeToBytes ( string str, Encoding e ) : byte[]
str string
e System.Text.Encoding
return byte[]

UrlEncodeUnicode() public static method

public static UrlEncodeUnicode ( string str ) : string
str string
return string

UrlEncodeUnicodeToBytes() public static method

public static UrlEncodeUnicodeToBytes ( string str ) : byte[]
str string
return byte[]

UrlPathEncode() public static method

public static UrlPathEncode ( string s ) : string
s string
return string