Examples of url()

@param url File URL or path relative to data directory @return File indicated by provided URL @see Files#url(File,String)
  • org.jeecgframework.core.annotation.config.AutoMenu.url()
  • org.jfrog.build.api.builder.BuildInfoBuilder.url()
    Sets the URL of the build @param url Build URL @return Builder instance
  • org.jfrog.build.api.builder.BuildInfoMavenBuilder.url()
    Sets the URL of the build @param url Build URL @return Builder instance
  • org.jsoup.Connection.url()
    Set the request URL to fetch. The protocol must be HTTP or HTTPS. @param url URL to connect to @return this Connection, for chaining
  • org.jsoup.Connection.Response.url()
  • org.mifosplatform.mix.data.NamespaceData.url()
  • org.onesocialweb.model.vcard4.VCard4Factory.url()
  • org.picketlink.idm.config.LDAPStoreConfigurationBuilder.url()
  • org.sgx.yuigwt.galleryexplorer.client.api.Module.url()
    gallery module url @return
  • org.stjs.testing.annotation.HTMLFixture.url()
  • play.mvc.Call.url()
    The request URL.

  • Examples of de.anomic.crawler.retrieval.Response.url()

      public void loadDocument(final LoaderDispatcher loader) throws IOException, Failure {
        if(this.document == null) {
          Response response = null;
          response = loader.load(loader.request(this.uri, true, false), CacheStrategy.IFEXIST, Long.MAX_VALUE, true);
          this.document = Document.mergeDocuments(response.url(), response.getMimeType(), response.parse());
        }
      }

      public EnumMap<METADATA, String> getMetadata() {
        final EnumMap<METADATA, String> metadata = new EnumMap<METADATA, String>(METADATA.class);
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

            /* ===========================================================================
             * PARSE RESOURCE
             * =========================================================================== */
            Document document = null;
            try {
                document = Document.mergeDocuments(response.url(), response.getMimeType(), response.parse());
            } catch (final Parser.Failure e) {
                init(url.hash(), null, ResultClass.ERROR_PARSER_FAILED, e.getMessage()); // cannot be parsed
                return;
            }
            if (document == null) {
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                final String storeError = response.shallStoreCacheForCrawler();
                if (storeError == null) {
                    try {
                        Cache.store(url, response.getResponseHeader(), response.getContent());
                    } catch (final IOException e) {
                        this.log.logWarning("cannot write " + response.url() + " to Cache (3): " + e.getMessage(), e);
                    }
                } else {
                    this.log.logWarning("cannot write " + response.url() + " to Cache (4): " + storeError);
                }
                return response;
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Response.url()

                        Cache.store(url, response.getResponseHeader(), response.getContent());
                    } catch (final IOException e) {
                        this.log.logWarning("cannot write " + response.url() + " to Cache (3): " + e.getMessage(), e);
                    }
                } else {
                    this.log.logWarning("cannot write " + response.url() + " to Cache (4): " + storeError);
                }
                return response;
            }

            throw new IOException("Unsupported protocol '" + protocol + "' in url " + url);
    View Full Code Here

    Examples of de.anomic.search.ResultEntry.url()

                // generate result object
                final ResultEntry result = theSearch.oneResult(item, theQuery.isLocal() ? 1000 : 5000);
                if (result == null) return prop; // no content

                final DigestURI resultURL = result.url();
                final int port = resultURL.getPort();
                DigestURI faviconURL = null;
                if ((isHtml || isJson) && !sb.isIntranetMode() && !resultURL.isLocal()) try {
                    faviconURL = new DigestURI(resultURL.getProtocol() + "://" + resultURL.getHost() + ((port != -1) ? (":" + port) : "") + "/favicon.ico");
                } catch (final MalformedURLException e1) {
    View Full Code Here

    Examples of de.lmu.ifi.dbs.elki.utilities.documentation.Reference.url()

              println(buf, width, ref.prefix(), "");
            }
            println(buf, width, ref.authors() + ":", "");
            println(buf, width, ref.title(), "  ");
            println(buf, width, "in: " + ref.booktitle(), "");
            if(ref.url().length() > 0) {
              println(buf, width, "see also: " + ref.url(), "");
            }
          }

          SerializedParameterization config = new SerializedParameterization();
    View Full Code Here

    Examples of fi.luomus.commons.db.connectivity.ConnectionDescription.url()

          }
        }
       
        public void test_reading_connection_description() throws Exception {
          ConnectionDescription d = r.connectionDescription();
          assertEquals("url", d.url());
        }
       
      }
     
    }
    View Full Code Here

    Examples of forestry.plugins.Plugin.url()

          sendChatMessage(sender, entry + "Plugin: " + info.name());
          if (!info.version().isEmpty())
            sendChatMessage(sender, "\u00A79Version: " + info.version());
          if (!info.author().isEmpty())
            sendChatMessage(sender, "\u00A79Author(s): " + info.author());
          if (!info.url().isEmpty())
            sendChatMessage(sender, "\u00A79URL: " + info.url());
          if (!info.unlocalizedDescription().isEmpty())
            sendChatMessage(sender, StatCollector.translateToLocal(info.unlocalizedDescription()));
        }
    View Full Code Here

    Examples of net.jsunit.PropertiesFileConfiguration.url()

            configuration.initialize();
            assertEquals("aaa", configuration.browserFileNames());
            assertEquals("bbb", configuration.logsDirectory());
            assertEquals("1234", configuration.port());
            assertEquals("ccc", configuration.resourceBase());
            assertEquals("ddd", configuration.url());
        }

        public void tearDown() throws Exception {
            Utility.deleteFile("temp.file");
    //        Utility.deleteDirectory("bbb");
    View Full Code Here

    Examples of net.yacy.document.parser.html.ImageEntry.url()

                        entry = tsi.next();
                        prop.put("viewMode_links_" + i + "_nr", i);
                        prop.put("viewMode_links_" + i + "_dark", dark ? "1" : "0");
                        prop.put("viewMode_links_" + i + "_type", "image");
                        prop.put("viewMode_links_" + i + "_text", (entry.alt().isEmpty()) ? "&nbsp;" : markup(wordArray, entry.alt()));
                        prop.put("viewMode_links_" + i + "_url", entry.url().toNormalform(false, true));
                        prop.put("viewMode_links_" + i + "_link", markup(wordArray, entry.url().toNormalform(false, true)));
                        if (entry.width() > 0 && entry.height() > 0)
                            prop.put("viewMode_links_" + i + "_attr", entry.width() + "x" + entry.height() + " Pixel");
                        else
                            prop.put("viewMode_links_" + i + "_attr", "unknown");
    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.