C# Class Fan.Sys.MimeType

MimeType represents the parsed value of a Content-Type header per RFC 2045 section 5.1.
Inheritance: FanObj
Show file Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@params ( ) : Map
@typeof ( ) : Type
Equals ( object obj ) : bool
GetHashCode ( ) : int
charset ( ) : Charset
forExt ( string s ) : MimeType
fromStr ( string s ) : MimeType
fromStr ( string s, bool check ) : MimeType
hash ( ) : long
mediaType ( ) : string
noParams ( ) : MimeType
parseParams ( string s ) : Map
parseParams ( string s, bool check ) : Map
subType ( ) : string
toStr ( ) : string

Private Methods

Method Description
doParseParams ( string s, int offset ) : Map
emptyParams ( ) : Map
parse ( string s ) : MimeType
unescape ( string s ) : string

Method Details

@params() public method

public @params ( ) : Map
return Map

@typeof() public method

public @typeof ( ) : Type
return Type

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

charset() public method

public charset ( ) : Charset
return Charset

forExt() public static method

public static forExt ( string s ) : MimeType
s string
return MimeType

fromStr() public static method

public static fromStr ( string s ) : MimeType
s string
return MimeType

fromStr() public static method

public static fromStr ( string s, bool check ) : MimeType
s string
check bool
return MimeType

hash() public method

public hash ( ) : long
return long

mediaType() public method

public mediaType ( ) : string
return string

noParams() public method

public noParams ( ) : MimeType
return MimeType

parseParams() public static method

public static parseParams ( string s ) : Map
s string
return Map

parseParams() public static method

public static parseParams ( string s, bool check ) : Map
s string
check bool
return Map

subType() public method

public subType ( ) : string
return string

toStr() public method

public toStr ( ) : string
return string