Java URL Decode decodeName(String createdName)

Here you can find the source of decodeName(String createdName)

Description

decode Name

License

Apache License

Parameter

Parameter Description
createdName a parameter

Declaration

private static String decodeName(String createdName) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.UnsupportedEncodingException;

import java.net.URLDecoder;

public class Main {
    /**/* w ww .  ja  v a2  s  .c o  m*/
     *
     * @param createdName
     * @return
     */
    private static String decodeName(String createdName) {

        try {
            return URLDecoder.decode(createdName, "UTF-8");
        } catch (final UnsupportedEncodingException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        return createdName;
    }
}

Related

  1. decodeIfNeeded(String s)
  2. decodeInternally(String encoded)
  3. decodeJobHistoryFileName(String logFileName)
  4. decodeKVMap(String keyValueString)
  5. decodeName(final String name)
  6. DecodePath(String path)
  7. decodePercent(String s)
  8. decodePercent(String str)
  9. decodeRequestBody(String requestBody)