Class FileNameDecoder


  • public class FileNameDecoder
    extends Object
    Same as URLDecoder except '+' is not decoded into a ' '.
    See Also:
    FileNameEncoder
    • Constructor Detail

      • FileNameDecoder

        public FileNameDecoder()
    • Method Detail

      • decode

        public static String decode​(String s)
        Decodes a x-www-form-urlencoded string. Except '+' is not decoded to a ' ' as described at the top of this class. UTF-8 encoding is used to determine what characters are represented by any consecutive sequences of the form "%xy".
        Parameters:
        s - the String to decode
        Returns:
        the newly decoded String