IT. Expert System.

Android Reference

URLUtil


android.webkit

Class URLUtil



  • public final class URLUtil
    extends Object
    • Constructor Detail

      • URLUtil

        public URLUtil()
    • Method Detail

      • guessUrl

        public static String guessUrl(String inUrl)
        Cleans up (if possible) user-entered web addresses
      • isAssetUrl

        public static boolean isAssetUrl(String url)
        Returns:
        True iff the url is an asset file.
      • isResourceUrl

        public static boolean isResourceUrl(String url)
        Returns:
        True iff the url is a resource file.
      • isCookielessProxyUrl

        @Deprecated
        public static boolean isCookielessProxyUrl(String url)
        Deprecated. Cookieless proxy is no longer supported.
        Returns:
        True iff the url is a proxy url to allow cookieless network requests from a file url.
      • isFileUrl

        public static boolean isFileUrl(String url)
        Returns:
        True iff the url is a local file.
      • isAboutUrl

        public static boolean isAboutUrl(String url)
        Returns:
        True iff the url is an about: url.
      • isDataUrl

        public static boolean isDataUrl(String url)
        Returns:
        True iff the url is a data: url.
      • isJavaScriptUrl

        public static boolean isJavaScriptUrl(String url)
        Returns:
        True iff the url is a javascript: url.
      • isHttpUrl

        public static boolean isHttpUrl(String url)
        Returns:
        True iff the url is an http: url.
      • isHttpsUrl

        public static boolean isHttpsUrl(String url)
        Returns:
        True iff the url is an https: url.
      • isNetworkUrl

        public static boolean isNetworkUrl(String url)
        Returns:
        True iff the url is a network url.
      • isContentUrl

        public static boolean isContentUrl(String url)
        Returns:
        True iff the url is a content: url.
      • isValidUrl

        public static boolean isValidUrl(String url)
        Returns:
        True iff the url is valid.
      • stripAnchor

        public static String stripAnchor(String url)
        Strips the url of the anchor.
      • guessFileName

        public static final String guessFileName(String url,
                           String contentDisposition,
                           String mimeType)
        Guesses canonical filename that a download would have, using the URL and contentDisposition. File extension, if not defined, is added based on the mimetype
        Parameters:
        url - Url to the content
        contentDisposition - Content-Disposition HTTP header or null
        mimeType - Mime-type of the content or null
        Returns:
        suggested filename


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 321 / 158747337. Delta: 0.02803 с