当前页面:
在线文档首页 >
JBoss 3.2.7 jaxrpc API Documentation 英文版文档
URLHashSet (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档
org.apache.axis.utils
Class URLHashSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
org.apache.axis.utils.URLHashSet
- All Implemented Interfaces:
- Cloneable, Collection, Serializable, Set
- public class URLHashSet
- extends HashSet
Class URLHashSet
- Author:
- Davanum Srinivas (dims@apache.org)
- See Also:
- Serialized Form
Method Summary |
boolean |
add(URL url)
Adds the specified URL to this set if it is not already present. |
boolean |
contains(URL url)
Returns true if this set contains the specified element. |
static URL |
normalize(URL url)
if the url points to a file then make sure we cleanup ".." "." etc. |
boolean |
remove(URL url)
Removes the given URL from this set if it is present. |
URLHashSet
public URLHashSet()
add
public boolean add(URL url)
- Adds the specified URL to this set if it is not already present.
- Parameters:
url
- url to be added to this set.
- Returns:
- true if the set did not already contain the specified element.
remove
public boolean remove(URL url)
- Removes the given URL from this set if it is present.
- Parameters:
url
- url to be removed from this set, if present.
- Returns:
- true if the set contained the specified element.
contains
public boolean contains(URL url)
- Returns true if this set contains the specified element.
- Parameters:
url
- url whose presence in this set is to be tested.
- Returns:
- true if this set contains the specified element.
normalize
public static URL normalize(URL url)
- if the url points to a file then make sure we cleanup ".." "." etc.
- Parameters:
url
- url to be normalized
- Returns:
- normalized url
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.