public static&nbsp;java.lang.String&nbsp;encodeURI(java.lang.String&nbsp;path)
                                  throws java.io.UnsupportedEncodingException</pre>
<div class="block">Encodes an Uri with % characters.
 The URI is escaped</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - String to encode.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The encoded string, according to URI norms</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.Unsupported