Lines Matching refs:urls
82 Stack<URL> urls = new Stack<URL>();
102 * @param urls the directory and JAR file URLs to search for classes
106 public URLClassPath(URL[] urls, URLStreamHandlerFactory factory) {
107 for (int i = 0; i < urls.length; i++) {
108 path.add(urls[i]);
110 push(urls);
116 public URLClassPath(URL[] urls) {
117 this(urls, null);
146 synchronized (urls) {
150 urls.add(0, url);
159 synchronized (urls) {
212 * @return an Enumeration of all the urls having the specified name
315 synchronized (urls) {
316 if (urls.empty()) {
319 url = urls.pop();
335 URL[] urls = loader.getClassPath();
336 if (urls != null) {
337 push(urls);
379 synchronized (urls) {
381 urls.push(us[i]);
394 URL[] urls = new URL[st.countTokens()];
404 urls[count++] = ParseUtil.fileToEncodedURL(f);
408 if (urls.length != count) {
410 System.arraycopy(urls, 0, tmp, 0, count);
411 urls = tmp;
413 return urls;
1014 URL[] urls = new URL[st.countTokens()];
1018 urls[i] = new URL(base, path);
1021 return urls;