| java.lang.Object org.apache.jmeter.protocol.http.parser.URLCollection
URLCollection | public class URLCollection (Code) | | Collection class designed for handling URLs
Before a URL is added to the collection, it is wrapped in a URLString class.
The iterator unwraps the URL before return.
N.B. Designed for use by HTMLParser, so is not a full implementation - e.g.
does not support remove()
version: $Revision: 519689 $ $Date: 2007-03-18 20:47:27 +0000 (Sun, 18 Mar 2007) $ |
URLCollection | public URLCollection(Collection c)(Code) | | Creates a new URLCollection from an existing Collection
|
add | public boolean add(URL u)(Code) | | Adds the URL to the Collection, first wrapping it in the URLString class
Parameters: u - URL to add boolean condition returned by the add() method of the underlyingcollection |
addURL | public boolean addURL(String url, URL baseUrl)(Code) | | Convenience method for adding URLs to the collection If the url parameter
is null or empty, nothing is done
Parameters: url - String, may be null or empty Parameters: baseUrl - boolean condition returned by the add() method of the underlyingcollection |
|
|