getMimeType
String sutil.getMimeType ( String path )
Description
Get the mime-type of a local file.
Parameters
- path File path to the local file, as a string.
Return Values
Returns the mime-type of the file, as a string.
Change Log
Version | Description |
---|---|
5.0 | Added for all editions. |
Examples
Get File Mime Type
// Get mime-type
sutil.getMimeType( "c:/image/puppy.gif" );
sutil.getMimeType( "c:/image/puppy.gif" );
scraper on 07/16/2010 at 5:21 pm
- Printer-friendly version
- Login or register to post comments