Generated by
JDiff

Class java.net.URL

Documentation changed from old to new.

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.
 

Added Methods
int getDefaultPort() Gets the default port number of the protocol associated with this URL.
 

Changed Methods
boolean equals(Object) Documentation changed from old to new.
Compares this URL for equality with another object.
String getAuthority() Documentation changed from old to new.
Gets the authority part of this URL.
String getFile() Documentation changed from old to new.
Gets the file name of this URL.
String getHost() Documentation changed from old to new.
Gets the host name of this URL if applicable.
String getPath() Documentation changed from old to new.
Gets the path part of this URL.
int getPort() Documentation changed from old to new.
Gets the port number of this URL.
String getProtocol() Documentation changed from old to new.
Gets the protocol name of this URL.
String getQuery() Documentation changed from old to new.
Gets the query part of this URL.
String getRef() Documentation changed from old to new.
Gets the anchor (also known as the "reference") of this URL.
String getUserInfo() Documentation changed from old to new.
Gets the userInfo part of this URL.
int hashCode() Documentation changed from old to new.
Creates an integer suitable for hash table indexing.
boolean sameFile(URL) Documentation changed from old to new.
Compares two URLs excluding the fragment component.
Object getContent() Documentation changed from old to new.
Gets the contents of this URL.
Object getContent(Class[]) Documentation changed from old to new.
Gets the contents of this URL.
void set(String, String, int, String, String, String, String, String) Documentation changed from old to new.
Sets the specified 8 fields of the URL.