>
<div class="block">Method which does all of the work of parsing the string.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - the URL string to parse</dd>
</dl>
</li>
</ul>
<a name="getPort--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPort</h4>
<pre>public&nbsp;int&nbsp;getPort()</pre>
<div class="block">Returns the port number of this URLName.
 Returns -1 if the port is not set.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
