IT. Expert System.

Android Reference

URLDecoder


java.net

Class URLDecoder



  • public class URLDecoder
    extends Object
    This class is used to decode a string which is encoded in the application/x-www-form-urlencoded MIME content type.
    • Constructor Detail

      • URLDecoder

        public URLDecoder()
    • Method Detail

      • decode

        @Deprecated
        public static String decode(String s)
        Deprecated. use decode(String, String) instead.
        Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type.

        '+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".

        Parameters:
        s - the encoded string.
        Returns:
        the decoded clear-text representation of the given string.
      • decode

        public static String decode(String s,
                    String encoding)
                             throws UnsupportedEncodingException
        Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the specified encoding scheme.

        '+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".

        Parameters:
        s - the encoded string.
        encoding - the encoding scheme to be used.
        Returns:
        the decoded clear-text representation of the given string.
        Throws:
        UnsupportedEncodingException - if the specified encoding scheme is invalid.


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: 330 / 158747346. Delta: 0.08932 с