Method | Description | |
---|---|---|
GetMimeType ( string ext ) : string |
Returns the mimetype that corresponds to a file extension.
|
|
MimeTypesMapper ( |
||
ParseUrl ( string url ) : string |
Detect the mimetype of the url of a file.
|
public GetMimeType ( string ext ) : string | ||
ext | string | Extension of a file. |
return | string |
public MimeTypesMapper ( |
||
config | ||
return | System |
public ParseUrl ( string url ) : string | ||
url | string | Url of the file |
return | string |