code: public static String raw(String uri)
  	{
  		String quoted = uri.replaceAll("\\%", "%25"); 
  		quoted = quoted.replaceAll("\\s", "%20");
  		quoted = quoted.replaceAll("\\\"", "%22");
  		quoted = quoted.replaceAll("\\'", "%27");
  		quoted = quoted.replaceAll("\\" + File.separator, "/");
  		return quoted;
  	}
docs: A basic quoting implementation. It escapes path separators and spaces.
  If a more robust solution is required look at {@link java.net.URI} or
  org.apache.commons.httpclient.URI.
  
  @param uri a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.