C# Class Rhino.Commonjs.Module.Provider.ParsedContentType

Datei anzeigen Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
GetContentType ( ) : string

Returns the content type (without charset declaration) of the MIME type.

Returns the content type (without charset declaration) of the MIME type.

GetEncoding ( ) : string

Returns the character encoding of the MIME type.

Returns the character encoding of the MIME type.

ParsedContentType ( string mimeType ) : Sharpen

Creates a new parsed content type.

Creates a new parsed content type.

Method Details

GetContentType() public method

Returns the content type (without charset declaration) of the MIME type.
Returns the content type (without charset declaration) of the MIME type.
public GetContentType ( ) : string
return string

GetEncoding() public method

Returns the character encoding of the MIME type.
Returns the character encoding of the MIME type.
public GetEncoding ( ) : string
return string

ParsedContentType() public method

Creates a new parsed content type.
Creates a new parsed content type.
public ParsedContentType ( string mimeType ) : Sharpen
mimeType string /// the full MIME type; typically the value of the /// "Content-Type" header of some MIME-compliant message. Can be null. ///
return Sharpen