public class URLHashSet
extends java.util.HashSet
Constructor and Description |
---|
URLHashSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.net.URL url)
Adds the specified URL to this set if it is not already present.
|
boolean |
contains(java.net.URL url)
Returns true if this set contains the specified element.
|
static java.net.URL |
normalize(java.net.URL url)
if the url points to a file then make sure we cleanup ".." "." etc.
|
boolean |
remove(java.net.URL url)
Removes the given URL from this set if it is present.
|
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
public boolean add(java.net.URL url)
url
- url to be added to this set.public boolean remove(java.net.URL url)
url
- url to be removed from this set, if present.public boolean contains(java.net.URL url)
url
- url whose presence in this set is to be tested.public static java.net.URL normalize(java.net.URL url)
url
- url to be normalizedCopyright ? 2005 Apache Web Services Project. All Rights Reserved.