Changed Constructors |
URL(String, String, int, String)
|
Documentation changed from old to new. |
Creates a URL object from the specified protocol host port number and file . |
URL(String, String, int, String, URLStreamHandler)
|
Documentation changed from old to new. |
Creates a URL object from the specified protocol host port number file and handler . |
URL(String, String, String)
|
Documentation changed from old to new. |
Creates a URL from the specified protocol name host name and file name. |
URL(URL, String)
|
Documentation changed from old to new. |
Creates a URL by parsing the given spec within a specified context. |
URL(URL, String, URLStreamHandler)
|
Documentation changed from old to new. |
Creates a URL by parsing the given spec with the specified handler within a specified context. |
Added Methods |
String getAuthority()
|
Returns the authority part of this URL . |
Object getContent(Class[] )
|
Returns the contents of this URL. |
String getPath()
|
Returns the path part of this URL . |
String getQuery()
|
Returns the query part of this URL . |
String getUserInfo()
|
Returns the userInfo part of this URL . |
void set(String, String, int, String, String, String, String, String)
|
Sets the specified 8 fields of the URL. |
Changed Methods |
String getHost()
|
Documentation changed from old to new. |
Returns the host name of this URL if applicable. |
String getProtocol()
|
Documentation changed from old to new. |
Returns the protocol name of this URL . |
void setURLStreamHandlerFactory(URLStreamHandlerFactory )
|
Changed from synchronized to non-synchronized.
|
Sets an application's URLStreamHandlerFactory . |
void set(String, String, int, String, String)
|
Documentation changed from old to new. |
Sets the fields of the URL. |