Here you can find the source of decodeSpecialMdxCharactersInNames(String name)
static String decodeSpecialMdxCharactersInNames(String name)
//package com.java2s; //License from project: Apache License import java.io.UnsupportedEncodingException; import java.net.URLDecoder; public class Main { static String decodeSpecialMdxCharactersInNames(String name) { try {/* w w w .j a va 2 s. co m*/ name = name.replace("XXX", "%"); name = name.replace("YYY", "."); name = name.replace("ZZZ", "-"); name = URLDecoder.decode(name, "UTF-8"); return name; } catch (UnsupportedEncodingException e) { // TODO Auto-generated catch block e.printStackTrace(); } return null; } }