Here you can find the source of decodeName(String createdName)
Parameter | Description |
---|---|
createdName | a parameter |
private static String decodeName(String createdName)
//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; } }