C# Class ExcelToolKit.Util.HttpEncoder

Datei anzeigen Open project: fanfeilong/exceltk Class Usage Examples

Public Properties

Property Type Description
InvariantCulture System.Globalization.CultureInfo

Private Properties

Property Type Description
EncodeHeaderString string
GetCustomEncoderFromConfig HttpEncoder
HtmlAttributeEncode string
HtmlDecode string
HtmlEncode string
HttpEncoder System
InitEntities void
NotEncoded bool
StringBuilderAppend void
UrlEncodeChar void
UrlEncodeToBytes byte[]
UrlPathEncodeChar void

Protected Methods

Method Description
HeaderNameValueEncode ( string headerName, string headerValue, string &encodedHeaderName, string &encodedHeaderValue ) : void
HtmlAttributeEncode ( string value, TextWriter output ) : void
HtmlDecode ( string value, TextWriter output ) : void
HtmlEncode ( string value, TextWriter output ) : void
UrlEncode ( byte bytes, int offset, int count ) : byte[]
UrlPathEncode ( string value ) : string

Private Methods

Method Description
EncodeHeaderString ( string input ) : string
GetCustomEncoderFromConfig ( ) : HttpEncoder
HtmlAttributeEncode ( string s ) : string
HtmlDecode ( string s ) : string
HtmlEncode ( string s ) : string
HttpEncoder ( ) : System
InitEntities ( ) : void
NotEncoded ( char c ) : bool
StringBuilderAppend ( string s, StringBuilder &sb ) : void
UrlEncodeChar ( char c, Stream result, bool isUnicode ) : void
UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlPathEncodeChar ( char c, Stream result ) : void

Method Details

HeaderNameValueEncode() protected method

protected HeaderNameValueEncode ( string headerName, string headerValue, string &encodedHeaderName, string &encodedHeaderValue ) : void
headerName string
headerValue string
encodedHeaderName string
encodedHeaderValue string
return void

HtmlAttributeEncode() protected method

protected HtmlAttributeEncode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
return void

HtmlDecode() protected method

protected HtmlDecode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
return void

HtmlEncode() protected method

protected HtmlEncode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
return void

UrlEncode() protected method

protected UrlEncode ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
return byte[]

UrlPathEncode() protected method

protected UrlPathEncode ( string value ) : string
value string
return string

Property Details

InvariantCulture public_oe static_oe property

public static CultureInfo,System.Globalization InvariantCulture
return System.Globalization.CultureInfo