Examples of addURL()


Examples of org.redline_rpm.Builder.addURL()

        }

        for ( String entry : scanner.getIncludedFiles()) {
          if ( archive != null) {
            URL url = new URL( "jar:" + archive.toURL() + "!/" + entry);
            builder.addURL( prefix + entry, url, filemode, dirmode, directive, username, group);
          } else {
            File file = new File( scanner.getBasedir(), entry);
            builder.addFile(prefix + entry, file, filemode, dirmode, directive, username, group);
          }
        }
View Full Code Here

Examples of org.rhq.core.pc.plugin.SimplePluginFinder.addUrl()

        for (String pluginString : pluginStringSet)
        {
            if (pluginString.endsWith(".jar"))
            {
                URL pluginUrl = context.getResource(pluginString);
                finder.addUrl(pluginUrl);
            }
        }

        PluginContainerConfiguration config = new PluginContainerConfiguration();
        config.setPluginFinder(finder);
View Full Code Here

Examples of org.xrace.desjardins.trx.Urls.addUrl()

    Url urlCancel = new Url();
    urlCancel.setName(UrlNameType.CANCEL);
    urlCancel.setPath(globalContext.getUrlCancel());

    urls.addUrl(urlResponse);
    urls.addUrl(urlSuccess);
    urls.addUrl(urlError);
    urls.addUrl(urlCancel);

    trxDesjardins.setUrls(urls);
View Full Code Here

Examples of sun.misc.URLClassPath.addURL()

        URLClassPath urlClassPath = getURLClassPath(urlClassLoader);
        if (urlClassPath == null) {
            // couldn't get the class path... error was already logged
            return;
        }
        urlClassPath.addURL(jar);

        rebuildJavaClassPathVariable(urlClassPath);
    }

    private static URLClassPath getURLClassPath(URLClassLoader loader) {
View Full Code Here

Examples of us.codecraft.webmagic.Spider.addUrl()

            System.err.println("Need at least one argument");
            System.out.println("Usage: java -jar webmagic.jar [-l language] -f script file [-t threadnum] [-s sleep time] url1 [url2 url3]");
            System.exit(-1);
        }
        for (String url : params.getUrls()) {
            spider.addUrl(url);
        }
        spider.run();
    }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.