class ResourceUtils {

    public static String decode(String str) {
        String decoded;
        try {
            decoded = URLDecoder.decode(str, "UTF-8");
        } catch (UnsupportedEncodingException e) {
            throw new MobiException(e);
        }
        return decoded;
    }

}