Class Overview
Utility class for matching URIs.
Summary
Public Methods |
static
boolean
|
isBaseEqual(URI baseUri, URI testUri)
Checks if the testUri belongs to the baseUri.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
boolean
isBaseEqual
(URI baseUri, URI testUri)
Checks if the testUri belongs to the baseUri. For example, www.foo.com/bar belongs to www.foo.com.
Parameters
baseUri
| the base URI |
testUri
| the URI to match against the base URI |
Returns
- true if the testUri belongs to the baseUri, false if otherwise