/**@class android.webkit.MimeTypeMap @extends java.lang.Object Two-way map that maps MIME-types to file extensions and vice versa. <p>See also {@link java.net.URLConnection#guessContentTypeFromName} and {@link java.net.URLConnection#guessContentTypeFromStream}. This class and {@code URLConnection} share the same MIME-type database. */ var MimeTypeMap = { /**Returns the file extension or an empty string iff there is no extension. This method is a convenience method for obtaining the extension of a url and has undefined results for other Strings. @param {String} url @return {String} The file extension of the given url. */ getFileExtensionFromUrl : function( ) {}, /**Return true if the given MIME type has an entry in the map. @param {String} mimeType A MIME type (i.e. text/plain) @return {Boolean} True iff there is a mimeType entry in the map. */ hasMimeType : function( ) {}, /**Return the MIME type for the given extension. @param {String} extension A file extension without the leading '.' @return {String} The MIME type for the given extension or null iff there is none. */ getMimeTypeFromExtension : function( ) {}, /**Return true if the given extension has a registered MIME type. @param {String} extension A file extension without the leading '.' @return {Boolean} True iff there is an extension entry in the map. */ hasExtension : function( ) {}, /**Return the registered extension for the given MIME type. Note that some MIME types map to multiple extensions. This call will return the most common extension for the given MIME type. @param {String} mimeType A MIME type (i.e. text/plain) @return {String} The extension for the given MIME type or null iff there is none. */ getExtensionFromMimeType : function( ) {}, /**Get the singleton instance of MimeTypeMap. @return {Object {android.webkit.MimeTypeMap}} The singleton instance of the MIME-type map. */ getSingleton : function( ) {}, };