code: public static String decode(String name)
     {
        // quick check
        if (name.indexOf("_x") < 0)
        {
           // not encoded
           return name;
        }
        StringBuffer decoded = new StringBuffer();
        Matcher m = ENCODE_PATTERN.matcher(name);
        while (m.find())
        {
           m.appendReplacement(decoded, Character.toString((char)Integer.parseInt(m.group().substring(2, 6), 16)));
        }
        m.appendTail(decoded);
        return decoded.toString();
     }
docs: Decodes the <code>name</code>.
  
  @param name
  the <code>String</code> to decode.
  @return the decoded <code>String</code>.