Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toExternalForm (0.38 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

            }
    
            if (!UrlSource.class.equals(obj.getClass())) {
                return false;
            }
    
            UrlSource other = (UrlSource) obj;
            return Objects.equals(url.toExternalForm(), other.url.toExternalForm());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("http://hoge.com/", value.toExternalForm());
    
            value = transformer.getBaseUrl("http://hoge.com/", "http://hoge.com/");
            assertEquals("http://hoge.com/", value.toExternalForm());
    
            value = transformer.getBaseUrl("http://hoge.com/aaa/bbb.html", "http://hoge.com/");
            assertEquals("http://hoge.com/", value.toExternalForm());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

        @Test
        void testGetLocation() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            assertEquals(txtFile.toExternalForm(), source.getLocation());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource(
                            modelId, getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, new org.apache.maven.model.InputSource(inputSource));
    
                    return modelProcessor.read(is, options);
                } catch (IOException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            URL childUrl;
            String u = null;
            try {
                childUrl = new URL(url, urlValue.startsWith(":") ? url.getProtocol() + urlValue : urlValue);
                u = encodeUrl(normalizeUrl(childUrl.toExternalForm()), encoding);
            } catch (final MalformedURLException e) {
                final int pos = urlValue.indexOf(':');
                if (pos > 0 && pos < 10) {
                    u = encodeUrl(normalizeUrl(urlValue), encoding);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                final String childUrlValue = attrValue.trim();
                final URL childUrl =
                        childUrlValue.startsWith("?") ? new URL(url.toExternalForm() + childUrlValue) : new URL(url, childUrlValue);
                final String u = encodeUrl(normalizeUrl(childUrl.toExternalForm()), encoding);
                if (logger.isDebugEnabled()) {
                    logger.debug("{} -> {}", attrValue, u);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top