/**@class android.webkit.URLUtil @extends java.lang.Object */ var URLUtil = { /**Cleans up (if possible) user-entered web addresses */ guessUrl : function( ) {}, /** */ composeSearchUrl : function( ) {}, /** */ decode : function( ) {}, /** @return {Boolean} True iff the url is an asset file. */ isAssetUrl : function( ) {}, /** @return {Boolean} True iff the url is a resource file. @hide */ isResourceUrl : function( ) {}, /** @return {Boolean} True iff the url is a proxy url to allow cookieless network requests from a file url. @deprecated Cookieless proxy is no longer supported. */ isCookielessProxyUrl : function( ) {}, /** @return {Boolean} True iff the url is a local file. */ isFileUrl : function( ) {}, /** @return {Boolean} True iff the url is an about: url. */ isAboutUrl : function( ) {}, /** @return {Boolean} True iff the url is a data: url. */ isDataUrl : function( ) {}, /** @return {Boolean} True iff the url is a javascript: url. */ isJavaScriptUrl : function( ) {}, /** @return {Boolean} True iff the url is an http: url. */ isHttpUrl : function( ) {}, /** @return {Boolean} True iff the url is an https: url. */ isHttpsUrl : function( ) {}, /** @return {Boolean} True iff the url is a network url. */ isNetworkUrl : function( ) {}, /** @return {Boolean} True iff the url is a content: url. */ isContentUrl : function( ) {}, /** @return {Boolean} True iff the url is valid. */ isValidUrl : function( ) {}, /**Strips the url of the anchor. */ stripAnchor : function( ) {}, /**Guesses canonical filename that a download would have, using the URL and contentDisposition. File extension, if not defined, is added based on the mimetype @param {String} url Url to the content @param {String} contentDisposition Content-Disposition HTTP header or null @param {String} mimeType Mime-type of the content or null @return {String} suggested filename */ guessFileName : function( ) {}, };