Java URL Decode urlDecode(String str)

Here you can find the source of urlDecode(String str)

Description

url Decode

License

Open Source License

Declaration

static String urlDecode(String str) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    static String urlDecode(String str) {
        str = str.replace('_', '/').replace('-', '+');
        return str;
    }// www.j av  a  2s.  c  o  m
}

Related

  1. unescape(String string)
  2. unescape(String theString)
  3. urlDecode(String s)
  4. urlDecode(String scope)
  5. urldecode(String str)
  6. URLDecode(String str)
  7. urlDecode(String text)
  8. urlDecodeBytes(String key)
  9. urlDecodeFilename(char[] input)