code: public static String decode(String encoded) {
          String raw = encoded.replace("%2F", "/");
          raw = raw.replace("%2A", "%");
          return raw;
      }
docs: Decode the given <code>String</code>. It is the inverse operation of {@link #encode(String)}. For all
  <code>String</code>s <code>s</code>, <code>decode(encode(s)).equals(s)</code> should be
  <code>true</code>.
  
  @param encoded
  the <code>String</code> to decode, must not be <code>null</code>
  @return the raw version
  
  @see #encode(String)