- <init>
- openStream
Opens a connection to this URL and returns anInputStream for reading from that
connection. This meth
- openConnection
Returns a new connection to the resource referred to by this URL.
- toString
Constructs a string representation of this URL. The string is created by calling
the toExternalForm
- getPath
Gets the path part of this URL.
- toURI
Returns a java.net.URI equivalent to this URL. This method functions in the same
way as new URI (thi
- getProtocol
Gets the protocol name of this URL.
- getFile
Gets the file name of this URL. The returned file portion will be the same as
getPath(), plus the c
- toExternalForm
Constructs a string representation of this URL. The string is created by calling
the toExternalForm
- getHost
Gets the host name of this URL, if applicable. The format of the host conforms
to RFC 2732, i.e. for
- getPort
Gets the port number of this URL.
- getQuery
Gets the query part of this URL.