URL.sameFile

URL.sameFile

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean sameFile( URL other )
Parameters
other
the URL to compare against.
Returns
true if they reference the same remote object; false otherwise.
Description
Compares two URLs, excluding the "ref" fields. Returns true if this URL and the other argument both refer to the same resource. The two URLs might not both contain the same anchor.